From: YoungTaeck Song Date: Wed, 5 Jun 2013 03:00:52 +0000 (+0900) Subject: Prevent showing previous scaled image when rotating. X-Git-Tag: submit/tizen_2.2/20130714.131554~178 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=70fffc7f804c28b07d06cb7b7275421a26c2ea49;p=framework%2Fweb%2Fwebkit-efl.git Prevent showing previous scaled image when rotating. [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 --- diff --git a/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp b/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp index 9cde630..7195747 100644 --- a/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp +++ b/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp @@ -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)