Index: third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp b/third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp |
index c50ec6cea096604f6a0d4ef25b91adcb0e5ea8ae..b4ff0916fa6d2b2c13adc12c32d371ae908f51ee 100644 |
--- a/third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp |
@@ -6,6 +6,7 @@ |
#include "core/page/Page.h" |
#include "platform/testing/URLTestHelpers.h" |
+#include "platform/testing/UnitTestHelpers.h" |
#include "public/platform/Platform.h" |
#include "public/platform/WebURLLoaderClient.h" |
#include "public/platform/WebURLLoaderMockFactory.h" |
@@ -25,7 +26,8 @@ class DocumentLoaderTest : public ::testing::Test { |
void SetUp() override { |
m_webViewHelper.initialize(); |
URLTestHelpers::registerMockedURLLoad( |
- URLTestHelpers::toKURL("https://example.com/foo.html"), "foo.html"); |
+ URLTestHelpers::toKURL("https://example.com/foo.html"), |
+ testing::webTestDataPath("foo.html")); |
} |
void TearDown() override { |