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..a7c0b302366877cf8c804bec0e7f2c41ebce7498 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,8 +90,8 @@ class ScrollingCoordinatorTest : public testing::Test { |
} |
void registerMockedHttpURLLoad(const std::string& fileName) { |
- URLTestHelpers::registerMockedURLFromBaseURL( |
- WebString::fromUTF8(m_baseURL.c_str()), |
+ URLTestHelpers::registerMockedURLLoadFromBase( |
+ WebString::fromUTF8(m_baseURL.c_str()), testing::webTestDataPath(), |
WebString::fromUTF8(fileName.c_str())); |
kinuko
2017/01/26 09:32:41
ditto
Takashi Toyoshima
2017/01/26 10:57:58
Done.
|
} |