Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Unified Diff: third_party/WebKit/Source/web/WebDataSourceImpl.cpp

Issue 2461043003: Fix for the RedirectTest.ClientServerServer test. (Closed)
Patch Set: More build errors Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebDataSourceImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebDataSourceImpl.cpp b/third_party/WebKit/Source/web/WebDataSourceImpl.cpp
index 40276873e9c783464f314170b834f102f5e9cede..6ba13fb5e008884083604daec1d06f3f4837de94 100644
--- a/third_party/WebKit/Source/web/WebDataSourceImpl.cpp
+++ b/third_party/WebKit/Source/web/WebDataSourceImpl.cpp
@@ -42,8 +42,9 @@ namespace blink {
WebDataSourceImpl* WebDataSourceImpl::create(LocalFrame* frame,
const ResourceRequest& request,
- const SubstituteData& data) {
- return new WebDataSourceImpl(frame, request, data);
+ const SubstituteData& data,
+ bool clientRedirect) {
+ return new WebDataSourceImpl(frame, request, data, clientRedirect);
}
const WebURLRequest& WebDataSourceImpl::originalRequest() const {
@@ -136,8 +137,9 @@ WebNavigationType WebDataSourceImpl::toWebNavigationType(NavigationType type) {
WebDataSourceImpl::WebDataSourceImpl(LocalFrame* frame,
const ResourceRequest& request,
- const SubstituteData& data)
- : DocumentLoader(frame, request, data),
+ const SubstituteData& data,
+ bool clientRedirect)
+ : DocumentLoader(frame, request, data, clientRedirect),
m_originalRequestWrapper(DocumentLoader::originalRequest()),
m_requestWrapper(DocumentLoader::request()),
m_responseWrapper(DocumentLoader::response()) {}

Powered by Google App Engine
This is Rietveld 408576698