Changeset 178179 in webkit
- Timestamp:
- Jan 9, 2015 11:29:40 AM (9 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r178170 r178179 1 2015-01-09 Alexey Proskuryakov <ap@apple.com> 2 3 platform/mac-wk2/tiled-drawing/tiled-drawing-scroll-position-page-cache-restoration.html fails on Retina machines 4 https://bugs.webkit.org/show_bug.cgi?id=140300 5 6 Reviewed by Simon Fraser. 7 8 * WebKitTestRunner/TestController.cpp: 9 (WTR::TestController::createOtherPage): 10 (WTR::TestController::updateWindowScaleForTest): 11 (WTR::TestController::configureViewForTest): 12 * WebKitTestRunner/TestController.h: 13 1 14 2015-01-09 Tibor Meszaros <tmeszaros.u-szeged@partner.samsung.com> 2 15 -
trunk/Tools/WebKitTestRunner/TestController.cpp
r178116 r178179 314 314 315 315 view->didInitializeClients(); 316 317 TestController::shared().updateWindowScaleForTest(view, *TestController::shared().m_currentInvocation); 316 318 317 319 WKRetain(newPage); … … 779 781 } 780 782 781 void TestController::updateWindowScaleForTest( const TestInvocation& test)783 void TestController::updateWindowScaleForTest(PlatformWebView* view, const TestInvocation& test) 782 784 { 783 785 WTF::String localPathOrUrl = String(test.pathOrURL()); 784 786 bool needsHighDPIWindow = localPathOrUrl.findIgnoringCase("/hidpi-") != notFound; 785 mainWebView()->changeWindowScaleIfNeeded(needsHighDPIWindow ? 2 : 1);787 view->changeWindowScaleIfNeeded(needsHighDPIWindow ? 2 : 1); 786 788 } 787 789 … … 826 828 { 827 829 updateWebViewSizeForTest(test); 828 updateWindowScaleForTest( test);830 updateWindowScaleForTest(mainWebView(), test); 829 831 updateLayoutTypeForTest(test); 830 832 -
trunk/Tools/WebKitTestRunner/TestController.h
r178116 r178179 137 137 138 138 void updateWebViewSizeForTest(const TestInvocation&); 139 void updateWindowScaleForTest( const TestInvocation&);139 void updateWindowScaleForTest(PlatformWebView*, const TestInvocation&); 140 140 void updateLayoutTypeForTest(const TestInvocation&); 141 141
Note: See TracChangeset
for help on using the changeset viewer.