diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/testing/page_test_base.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/testing/page_test_base.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/core/testing/page_test_base.cc b/chromium/third_party/blink/renderer/core/testing/page_test_base.cc index cd07e256f18..2926376ada6 100644 --- a/chromium/third_party/blink/renderer/core/testing/page_test_base.cc +++ b/chromium/third_party/blink/renderer/core/testing/page_test_base.cc @@ -201,8 +201,8 @@ void PageTestBase::InsertStyleElement(const std::string& style_rules) { void PageTestBase::NavigateTo(const KURL& url, const WTF::HashMap<String, String>& headers) { - auto params = - WebNavigationParams::CreateWithHTMLBuffer(SharedBuffer::Create(), url); + auto params = WebNavigationParams::CreateWithHTMLBufferForTesting( + SharedBuffer::Create(), url); for (const auto& header : headers) params->response.SetHttpHeaderField(header.key, header.value); |