Title: [87898] trunk/Source/WebKit/efl
Revision
87898
Author
[email protected]
Date
2011-06-02 05:24:29 -0700 (Thu, 02 Jun 2011)

Log Message

2011-06-02  Ryuan Choi  <[email protected]>

        Reviewed by Kenneth Rohde Christiansen.

        [EFL] No need to invalidate empty areas in ChromeClientEfl::invalidateContentsAndWindow
        https://bugs.webkit.org/show_bug.cgi?id=61902

        Just return to reduce unnecessary calls when invalidateContentsAndWindow
        received empty area.

        * WebCoreSupport/ChromeClientEfl.cpp:
        (WebCore::ChromeClientEfl::invalidateContentsAndWindow):

Modified Paths

Diff

Modified: trunk/Source/WebKit/efl/ChangeLog (87897 => 87898)


--- trunk/Source/WebKit/efl/ChangeLog	2011-06-02 12:10:48 UTC (rev 87897)
+++ trunk/Source/WebKit/efl/ChangeLog	2011-06-02 12:24:29 UTC (rev 87898)
@@ -1,3 +1,16 @@
+2011-06-02  Ryuan Choi  <[email protected]>
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        [EFL] No need to invalidate empty areas in ChromeClientEfl::invalidateContentsAndWindow
+        https://bugs.webkit.org/show_bug.cgi?id=61902
+
+        Just return to reduce unnecessary calls when invalidateContentsAndWindow
+        received empty area.
+
+        * WebCoreSupport/ChromeClientEfl.cpp:
+        (WebCore::ChromeClientEfl::invalidateContentsAndWindow):
+
 2011-06-01  Gyuyoung Kim  <[email protected]>
 
         Reviewed by Kent Tamura.

Modified: trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp (87897 => 87898)


--- trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp	2011-06-02 12:10:48 UTC (rev 87897)
+++ trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp	2011-06-02 12:24:29 UTC (rev 87898)
@@ -495,6 +495,9 @@
 
 void ChromeClientEfl::invalidateContentsAndWindow(const IntRect& updateRect, bool immediate)
 {
+    if (updateRect.isEmpty())
+        return;
+
     Evas_Coord x, y, w, h;
 
     x = updateRect.x();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to