Title: [90677] trunk/Tools
Revision
90677
Author
[email protected]
Date
2011-07-09 02:58:07 -0700 (Sat, 09 Jul 2011)

Log Message

Eliminate bad dependency on gfx::Point.
https://bugs.webkit.org/show_bug.cgi?id=64228

Reviewed by Kent Tamura.

* DumpRenderTree/chromium/EventSender.cpp:
(initMouseEvent):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (90676 => 90677)


--- trunk/Tools/ChangeLog	2011-07-09 06:05:14 UTC (rev 90676)
+++ trunk/Tools/ChangeLog	2011-07-09 09:58:07 UTC (rev 90677)
@@ -1,3 +1,13 @@
+2011-07-09  Darin Fisher  <[email protected]>
+
+        Eliminate bad dependency on gfx::Point.
+        https://bugs.webkit.org/show_bug.cgi?id=64228
+
+        Reviewed by Kent Tamura.
+
+        * DumpRenderTree/chromium/EventSender.cpp:
+        (initMouseEvent):
+
 2011-07-08  Ojan Vafai  <[email protected]>
 
         pull static dashboard files into the appengine server from the chromium repository

Modified: trunk/Tools/DumpRenderTree/chromium/EventSender.cpp (90676 => 90677)


--- trunk/Tools/DumpRenderTree/chromium/EventSender.cpp	2011-07-09 06:05:14 UTC (rev 90676)
+++ trunk/Tools/DumpRenderTree/chromium/EventSender.cpp	2011-07-09 09:58:07 UTC (rev 90677)
@@ -131,15 +131,15 @@
 }
 
 static void initMouseEvent(WebInputEvent::Type t, WebMouseEvent::Button b,
-                           const gfx::Point& pos, WebMouseEvent* e)
+                           const WebPoint& pos, WebMouseEvent* e)
 {
     e->type = t;
     e->button = b;
     e->modifiers = 0;
-    e->x = pos.x();
-    e->y = pos.y();
-    e->globalX = pos.x();
-    e->globalY = pos.y();
+    e->x = pos.x;
+    e->y = pos.y;
+    e->globalX = pos.x;
+    e->globalY = pos.y;
     e->timeStampSeconds = getCurrentEventTimeSec();
     e->clickCount = clickCount;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to