| Index: third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp b/third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp
|
| index 13e15a6a405584184888627c0d8c096e02914339..67c2508fb4143a97618fb3bbefcf7981426a0806 100644
|
| --- a/third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp
|
| @@ -2,6 +2,7 @@
|
| #include "core/loader/DocumentLoader.h"
|
| #include "core/loader/FrameLoader.h"
|
| #include "platform/testing/URLTestHelpers.h"
|
| +#include "platform/testing/UnitTestHelpers.h"
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebInputEvent.h"
|
| #include "public/platform/WebURLLoaderMockFactory.h"
|
| @@ -19,7 +20,7 @@
|
|
|
| namespace blink {
|
|
|
| -class ProgrammaticScrollTest : public testing::Test {
|
| +class ProgrammaticScrollTest : public ::testing::Test {
|
| public:
|
| ProgrammaticScrollTest() : m_baseURL("http://www.test.com/") {}
|
|
|
| @@ -30,9 +31,9 @@ class ProgrammaticScrollTest : public testing::Test {
|
|
|
| protected:
|
| 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));
|
| }
|
|
|
| std::string m_baseURL;
|
|
|