Index: third_party/WebKit/Source/web/tests/RootScrollerTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp b/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp |
index a90a6531502c5d815a8aafc1148c7ce52e20ad44..a969a391e8418e58d07dd501009f607f5d45f588 100644 |
--- a/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp |
@@ -81,9 +81,9 @@ class RootScrollerTest : public ::testing::Test { |
} |
void registerMockedHttpURLLoad(const std::string& fileName) { |
- URLTestHelpers::registerMockedURLFromBaseURL( |
- WebString::fromUTF8(m_baseURL.c_str()), |
- WebString::fromUTF8(fileName.c_str())); |
+ URLTestHelpers::registerMockedURLLoadFromBase( |
+ WebString::fromUTF8(m_baseURL), testing::webTestDataPath(), |
+ WebString::fromUTF8(fileName)); |
} |
void executeScript(const WebString& code) { |