[3.0] Add SurfaceSizeChanged before ReplaceSurface 21/99821/1
authortaeyoon <taeyoon0.lee@samsung.com>
Thu, 24 Nov 2016 07:42:58 +0000 (16:42 +0900)
committertaeyoon <taeyoon0.lee@samsung.com>
Thu, 24 Nov 2016 07:44:14 +0000 (16:44 +0900)
Change-Id: Idd77297fd836c0429f4c23ed2c8b05f629f8e235

adaptors/common/application-impl.cpp

index e43871f..c0cd9f2 100644 (file)
@@ -341,6 +341,7 @@ void Application::ReplaceWindow(PositionSize windowPosition, const std::string&
   Dali::RenderSurface* renderSurface = windowImpl.GetSurface();
 
   Any nativeWindow = newWindow.GetNativeHandle();
+  Internal::Adaptor::Adaptor::GetImplementation( *mAdaptor ).SurfaceSizeChanged( windowPosition );
   Internal::Adaptor::Adaptor::GetImplementation( *mAdaptor ).ReplaceSurface(nativeWindow, *renderSurface);
   mWindow = newWindow;
 }