fast/borders/border-radius-on-subpixel-position-non-hidpi.html fails on Retina machines
[WebKit-https.git] / Tools / WebKitTestRunner / TestController.cpp
index 5a3151d..b70736d 100644 (file)
@@ -680,7 +680,7 @@ void TestController::updateWebViewSizeForTest(const TestInvocation& test)
 void TestController::updateWindowScaleForTest(const TestInvocation& test)
 {
     WTF::String localPathOrUrl = String(test.pathOrURL());
-    bool needsHighDPIWindow = localPathOrUrl.findIgnoringCase("hidpi-") != notFound;
+    bool needsHighDPIWindow = localPathOrUrl.findIgnoringCase("/hidpi-") != notFound;
     mainWebView()->changeWindowScaleIfNeeded(needsHighDPIWindow ? 2 : 1);
 }