--- a/graphicscomposition/surfaceupdate/src/surfaceupdateclient.cpp Tue Aug 31 16:31:06 2010 +0300
+++ b/graphicscomposition/surfaceupdate/src/surfaceupdateclient.cpp Wed Sep 01 12:39:21 2010 +0100
@@ -18,14 +18,13 @@
*/
#include <graphics/surfaceupdateclient.h>
-#include <e32debug.h>
#include "surfaceupdate.h"
inline void SurfaceUpdateAssert(TInt aCond) {__ASSERT_ALWAYS(aCond, User::Panic(_L("surfaceupdateclient.cpp; assertion failed"), __LINE__));}
EXPORT_C RSurfaceUpdateSession::RSurfaceUpdateSession() :
RSessionBase(),
- iStatusAvailable(NULL), iStatusDisplayed(NULL), iStatusDisplayedXTimes(NULL), iTimeStamp(NULL), iCount(0)
+ iStatusAvailable(NULL), iStatusDisplayed(NULL), iStatusDisplayedXTimes(NULL)
{
}
@@ -62,12 +61,7 @@
TInt aBuffer, const TRegion* aDirtyRegion)
{
SurfaceUpdateAssert(Handle() != KNullHandle);
-
-#if defined _DEBUG
- if (aScreen != KAllScreens)
- RDebug::Printf("You should use KAllScreens as the argument for the screen: (other values OK for test)");
-#endif
-
+
if(aScreen < 0 || aBuffer < 0 || aSurfaceId.IsNull())
{
IssueRequestComplete(KErrArgument);