egl/egltest/endpointtestsuite/automated/tsrc/egltest_endpointstreamingtests_local.cpp
changeset 136 62bb7c97884c
parent 98 bf7481649c98
--- a/egl/egltest/endpointtestsuite/automated/tsrc/egltest_endpointstreamingtests_local.cpp	Tue Jul 20 13:27:44 2010 +0300
+++ b/egl/egltest/endpointtestsuite/automated/tsrc/egltest_endpointstreamingtests_local.cpp	Fri Jul 30 11:41:40 2010 +0300
@@ -222,7 +222,7 @@
     User::LeaveIfError(aSurface->Notify(ENotifyWhenDispXTimes, dispXTimesRs, aNumTimes));
     
     TUint startTickCount = User::TickCount();
-    aSurface->SubmitContentL(EFalse);
+    User::LeaveIfError(aSurface->SubmitContent(EFalse));
     
     TUint32 dummyTimeStamp;
     TInt err = aSurface->WaitFor(ENotifyWhenDispXTimes, dispXTimesRs, timeout, dummyTimeStamp);
@@ -254,7 +254,7 @@
     CleanupStack::PushL(TCleanupItem(CleanupRemoteTestStep, this));
     
     //Local: Submit update for the surface so that the endpoint enters the ready state.
-    surface->SubmitContentL(EFalse);
+    User::LeaveIfError(surface->SubmitContent(ETrue));
     
     //Remote: Set the EGL_DELAY_NOK value and begin streaming on the endpoint.
     static const TEngineTestCase setDelayAndBeginStreamingSteps[] =