Prevent showing previous scaled image when rotating.
authorYoungTaeck Song <youngtaeck.song@samsung.com>
Wed, 5 Jun 2013 03:00:52 +0000 (12:00 +0900)
committerYoungTaeck Song <youngtaeck.song@samsung.com>
Wed, 5 Jun 2013 06:14:30 +0000 (15:14 +0900)
[Title] Prevent showing previous scaled image when rotating.
[Issue#] N_SE-37874
[Problem] After rotating, previous scaled image is showed
[Cause] Right after rotating, We show current contents immediately.
[Solution] Prevent showing previous scaled image when rotating.

Change-Id: Ib70458e85c41b478de5d222ac2f0f8b75dc68e8a

Source/WebKit2/UIProcess/API/efl/ewk_view.cpp

index 9cde630..7195747 100644 (file)
@@ -954,8 +954,6 @@ static void _ewk_view_smart_calculate(Evas_Object* ewkView)
 #if ENABLE(TIZEN_WEBKIT2_TILED_BACKING_STORE) && !ENABLE(TIZEN_WEBKIT2_EFL_WTR)
                 Ecore_Evas* ee = ecore_evas_ecore_evas_get(smartData->base.evas);
                 impl->pageClient->updateViewportSize(IntSize(width, height), ecore_evas_rotation_get(ee));
-                if (ewk_view_is_opengl_backend(ewkView))
-                    impl->pageClient->displayViewport();
 #endif
             }
 #if ENABLE(TIZEN_WEBKIT2_TILED_SCROLLBAR)