Fix the issue that animation is not working after rotation.
authorHurnjoo Lee <hurnjoo.lee@samsung.com>
Fri, 26 Jul 2013 14:51:49 +0000 (23:51 +0900)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Wed, 2 Oct 2013 08:33:03 +0000 (08:33 +0000)
[Title] Fix the issue that animation is not working after rotation.
[Issue#] DCM-2238
[Problem] The progress animation(rotating) on popup is stopped when device is rotated.
[Cause] When rebuild the layer tree, animation informations are not syncronized.
[Solution] Modifed to sync the animation informations while rebuild the layer tree.

Change-Id: I91fcb82e8afe8e3fd8c398ec508c6165697f1d54

Source/WebKit2/WebProcess/WebPage/LayerTreeCoordinator/WebGraphicsLayer.cpp

index 5ce79e6..759ff86 100644 (file)
@@ -959,6 +959,9 @@ void WebGraphicsLayer::setWebGraphicsLayerClient(WebKit::WebGraphicsLayerClient*
         purgeBackingStores();
 #endif // ENABLE(TIZEN_DONT_PURGE_PLATFORM_SURFACE_BACKINGSTORE_ON_NODE_DETACH_FROM_WEBLAYER_TREE)
         m_webGraphicsLayerClient->detachLayer(this);
+#if ENABLE(TIZEN_WEBKIT2_TILED_AC)
+        didChangeAnimations();
+#endif
     }
     m_webGraphicsLayerClient = client;
     if (client)