Title: [106826] branches/subpixellayout/Source/WebCore/platform/Widget.h
Revision
106826
Author
[email protected]
Date
2012-02-06 11:50:03 -0800 (Mon, 06 Feb 2012)

Log Message

Fixing incorrect usage of AppUnits as parameters to Widgets.

Modified Paths


Diff

Modified: branches/subpixellayout/Source/WebCore/platform/Widget.h (106825 => 106826)


--- branches/subpixellayout/Source/WebCore/platform/Widget.h	2012-02-06 19:37:58 UTC (rev 106825)
+++ branches/subpixellayout/Source/WebCore/platform/Widget.h	2012-02-06 19:50:03 UTC (rev 106826)
@@ -135,9 +135,9 @@
     IntRect frameRect() const;
     IntRect boundsRect() const { return IntRect(0, 0, width(),  height()); }
 
-    void resize(AppUnit w, AppUnit h) { setFrameRect(IntRect(x(), y(), w, h)); }
+    void resize(int w, int h) { setFrameRect(IntRect(x(), y(), w, h)); }
     void resize(const IntSize& s) { setFrameRect(IntRect(location(), s)); }
-    void move(AppUnit x, AppUnit y) { setFrameRect(IntRect(x, y, width(), height())); }
+    void move(int x, int y) { setFrameRect(IntRect(x, y, width(), height())); }
     void move(const IntPoint& p) { setFrameRect(IntRect(p, size())); }
 
     virtual void paint(GraphicsContext*, const IntRect&);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to