fast/borders/border-radius-on-subpixel-position-non-hidpi.html fails on Retina machines
[WebKit-https.git] / Tools / DumpRenderTree / mac / DumpRenderTree.mm
index 574d254..8e8a6c6 100644 (file)
@@ -1467,7 +1467,7 @@ static void changeWindowScaleIfNeeded(const char* testPathOrUR)
 {
     bool hasHighDPIWindow = [[[mainFrame webView] window] backingScaleFactor] != 1;
     WTF::String localPathOrUrl = String(testPathOrUR);
-    bool needsHighDPIWindow = localPathOrUrl.findIgnoringCase("hidpi-") != notFound;
+    bool needsHighDPIWindow = localPathOrUrl.findIgnoringCase("/hidpi-") != notFound;
     if (hasHighDPIWindow == needsHighDPIWindow)
         return;