Title: [107265] branches/subpixellayout/Source/WebCore/rendering/RenderLayer.cpp
- Revision
- 107265
- Author
- [email protected]
- Date
- 2012-02-09 11:15:36 -0800 (Thu, 09 Feb 2012)
Log Message
isPointInResizeControl should not truncate LayoutUnits when determining its boundaries.
Modified Paths
Diff
Modified: branches/subpixellayout/Source/WebCore/rendering/RenderLayer.cpp (107264 => 107265)
--- branches/subpixellayout/Source/WebCore/rendering/RenderLayer.cpp 2012-02-09 19:12:07 UTC (rev 107264)
+++ branches/subpixellayout/Source/WebCore/rendering/RenderLayer.cpp 2012-02-09 19:15:36 UTC (rev 107265)
@@ -2582,7 +2582,7 @@
IntPoint localPoint = roundedIntPoint(absoluteToContents(absolutePoint));
- IntRect localBounds(0, 0, box->width(), box->height());
+ IntRect localBounds(0, 0, box->pixelSnappedWidth(), box->pixelSnappedHeight());
return resizerCornerRect(this, localBounds).contains(localPoint);
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes