<rdar://problem/10981173> Dashboard regions should not be in device space
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Mar 2012 21:20:30 +0000 (21:20 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Mar 2012 21:20:30 +0000 (21:20 +0000)
commit39e0c6ffaa67708b6c6ff06078d2f6f93c52b2d1
tree5ccf3deab997cca07f571db73c0f5957ed87f9a4
parentbf15b6b236f3ef4538f422c6a8e5ce58d641ed04
<rdar://problem/10981173> Dashboard regions should not be in device space

Reviewed by John Sullivan.

Source/WebCore:

Test: TestWebKitAPI/Tests/mac/DeviceScaleFactorInDashboardRegions.mm

* rendering/RenderInline.cpp:
(WebCore::RenderInline::addDashboardRegions): Stop applying the device scale factor to
Dashboard regions.
* rendering/RenderObject.cpp:
(WebCore::RenderObject::addDashboardRegions): Ditto.

Tools:

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/mac/DeviceScaleFactorInDashboardRegions.mm: Added.
(-[DeviceScaleFactorInDashboardRegionsUIDelegate webView:dashboardRegionsChanged:]):
(TestWebKitAPI):
(TestWebKitAPI::TEST):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@110196 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderInline.cpp
Source/WebCore/rendering/RenderObject.cpp
Tools/ChangeLog
Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
Tools/TestWebKitAPI/Tests/mac/DeviceScaleFactorInDashboardRegions.mm [new file with mode: 0644]