Index: third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp |
index 85f01cb06c32d8b18fb0a53df78cddd1f5f3f1ff..f63e247efe2c7aa1ab18e76828cb21e4e6bd0c17 100644 |
--- a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp |
@@ -39,6 +39,7 @@ |
#include "platform/geometry/IntRect.h" |
#include "platform/graphics/GraphicsLayer.h" |
#include "platform/testing/URLTestHelpers.h" |
+#include "platform/testing/UnitTestHelpers.h" |
#include "public/platform/Platform.h" |
#include "public/platform/WebLayer.h" |
#include "public/platform/WebLayerPositionConstraint.h" |
@@ -54,7 +55,7 @@ |
namespace blink { |
-class ScrollingCoordinatorTest : public testing::Test { |
+class ScrollingCoordinatorTest : public ::testing::Test { |
public: |
ScrollingCoordinatorTest() : m_baseURL("http://www.test.com/") { |
m_helper.initialize(true, nullptr, &m_mockWebViewClient, nullptr, |
@@ -89,9 +90,9 @@ class ScrollingCoordinatorTest : 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)); |
} |
WebLayer* getRootScrollLayer() { |