Title: [114550] branches/subpixellayout/Source
Revision
114550
Author
[email protected]
Date
2012-04-18 13:12:55 -0700 (Wed, 18 Apr 2012)

Log Message

WebKit/win cleanup on branch.

Modified Paths


Diff

Modified: branches/subpixellayout/Source/WebCore/accessibility/AccessibilityObject.h (114549 => 114550)


--- branches/subpixellayout/Source/WebCore/accessibility/AccessibilityObject.h	2012-04-18 20:08:00 UTC (rev 114549)
+++ branches/subpixellayout/Source/WebCore/accessibility/AccessibilityObject.h	2012-04-18 20:12:55 UTC (rev 114550)
@@ -506,6 +506,7 @@
     virtual LayoutRect boundingBoxRect() const { return LayoutRect(); }
     IntRect pixelSnappedBoundingBoxRect() const { return pixelSnappedIntRect(boundingBoxRect()); }
     virtual LayoutRect elementRect() const = 0;
+    IntRect pixelSnappedElementRect() const { return pixelSnappedIntRect(elementRect()); }
     LayoutSize size() const { return elementRect().size(); }
     IntSize pixelSnappedSize() const { return elementRect().pixelSnappedSize(); }
     virtual IntPoint clickPoint();

Modified: branches/subpixellayout/Source/WebKit/win/AccessibleBase.cpp (114549 => 114550)


--- branches/subpixellayout/Source/WebKit/win/AccessibleBase.cpp	2012-04-18 20:08:00 UTC (rev 114549)
+++ branches/subpixellayout/Source/WebKit/win/AccessibleBase.cpp	2012-04-18 20:12:55 UTC (rev 114550)
@@ -498,7 +498,7 @@
     if (!childObj->documentFrameView())
         return E_FAIL;
 
-    IntRect screenRect(childObj->documentFrameView()->contentsToScreen(pixelSnappedIntRect(childObj->elementRect())));
+    IntRect screenRect(childObj->documentFrameView()->contentsToScreen(childObj->pixelSnappedElementRect()));
     *left = screenRect.x();
     *top = screenRect.y();
     *width = screenRect.width();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to