[EFL][DRT] Remove extra layoutFrame() call when preparing to send an event via EventS...
authorrakuco@webkit.org <rakuco@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Nov 2012 14:06:03 +0000 (14:06 +0000)
committerrakuco@webkit.org <rakuco@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Nov 2012 14:06:03 +0000 (14:06 +0000)
https://bugs.webkit.org/show_bug.cgi?id=102074

Reviewed by Kenneth Rohde Christiansen.

* DumpRenderTree/efl/EventSender.cpp:
(feedMouseEvent): Do not call DumpRenderTreeSupportEfl::layoutFrame()
when sending an event, as it causes additional repaints that create
wrong pixel results for tests such as
fast/repaint/overflow-auto-in-overflow-auto-scrolled.html.

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

Tools/ChangeLog
Tools/DumpRenderTree/efl/EventSender.cpp

index 18ee52b..1951311 100644 (file)
@@ -1,3 +1,16 @@
+2012-11-13  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
+
+        [EFL][DRT] Remove extra layoutFrame() call when preparing to send an event via EventSender.
+        https://bugs.webkit.org/show_bug.cgi?id=102074
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        * DumpRenderTree/efl/EventSender.cpp:
+        (feedMouseEvent): Do not call DumpRenderTreeSupportEfl::layoutFrame()
+        when sending an event, as it causes additional repaints that create
+        wrong pixel results for tests such as
+        fast/repaint/overflow-auto-in-overflow-auto-scrolled.html.
+
 2012-11-13  Csaba Osztrogon√°c  <ossy@webkit.org>
 
         [Qt] Enable Mutation observer
index e2ff5e1..92b7889 100644 (file)
@@ -992,7 +992,6 @@ static void feedMouseEvent(MouseEventInfo* eventInfo)
     unsigned timeStamp = 0;
     Evas_Object* mainFrame = browser->mainFrame();
     Evas* evas = evas_object_evas_get(mainFrame);
-    DumpRenderTreeSupportEfl::layoutFrame(mainFrame);
     EvasMouseEvent event = eventInfo->event;
 
     setEvasModifiers(evas, eventInfo->modifiers);