[EFL][WK1] Fix broken rendering while navigating history in EWebLauncher
authorryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 25 Jan 2014 14:19:50 +0000 (14:19 +0000)
committerryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 25 Jan 2014 14:19:50 +0000 (14:19 +0000)
https://bugs.webkit.org/show_bug.cgi?id=127601

Reviewed by Anders Carlsson.

When scrolled after requested repaints, rendering was broken because scrollDelta
changed repaints area.

* ewk/ewk_view.cpp:
(ewk_view_scroll):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162762 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/efl/ChangeLog
Source/WebKit/efl/ewk/ewk_view.cpp

index dbc9c1b..0ec3952 100644 (file)
@@ -1,3 +1,16 @@
+2014-01-25  Ryuan Choi  <ryuan.choi@samsung.com>
+
+        [EFL][WK1] Fix broken rendering while navigating history in EWebLauncher
+        https://bugs.webkit.org/show_bug.cgi?id=127601
+
+        Reviewed by Anders Carlsson.
+
+        When scrolled after requested repaints, rendering was broken because scrollDelta
+        changed repaints area.
+
+        * ewk/ewk_view.cpp:
+        (ewk_view_scroll):
+
 2014-01-24  Anders Carlsson  <andersca@apple.com>
 
         Remove back/forward list related functions from Page
index 43c6f1c..61c61e2 100644 (file)
@@ -3777,8 +3777,8 @@ void ewk_view_scroll(Evas_Object* ewkView, const WebCore::IntSize& delta, const
     priv->m_scrollOffsets.append(delta);
 
     for (size_t i = 0; i < priv->repaints.count; ++i) {
-        priv->repaints.array[i].x = delta.width();
-        priv->repaints.array[i].y = delta.height();
+        priv->repaints.array[i].x += delta.width();
+        priv->repaints.array[i].y += delta.height();
     }
 
     _ewk_view_smart_changed(smartData);