| 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..87d7436594aaa6c661bb7cdb376afe18dc1db45a 100644
|
| --- a/third_party/WebKit/Source/web/WebDataSourceImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebDataSourceImpl.cpp
|
| @@ -40,10 +40,12 @@
|
|
|
| namespace blink {
|
|
|
| -WebDataSourceImpl* WebDataSourceImpl::create(LocalFrame* frame,
|
| - const ResourceRequest& request,
|
| - const SubstituteData& data) {
|
| - return new WebDataSourceImpl(frame, request, data);
|
| +WebDataSourceImpl* WebDataSourceImpl::create(
|
| + LocalFrame* frame,
|
| + const ResourceRequest& request,
|
| + const SubstituteData& data,
|
| + ClientRedirectPolicy clientRedirectPolicy) {
|
| + return new WebDataSourceImpl(frame, request, data, clientRedirectPolicy);
|
| }
|
|
|
| const WebURLRequest& WebDataSourceImpl::originalRequest() const {
|
| @@ -136,8 +138,9 @@ WebNavigationType WebDataSourceImpl::toWebNavigationType(NavigationType type) {
|
|
|
| WebDataSourceImpl::WebDataSourceImpl(LocalFrame* frame,
|
| const ResourceRequest& request,
|
| - const SubstituteData& data)
|
| - : DocumentLoader(frame, request, data),
|
| + const SubstituteData& data,
|
| + ClientRedirectPolicy clientRedirectPolicy)
|
| + : DocumentLoader(frame, request, data, clientRedirectPolicy),
|
| m_originalRequestWrapper(DocumentLoader::originalRequest()),
|
| m_requestWrapper(DocumentLoader::request()),
|
| m_responseWrapper(DocumentLoader::response()) {}
|
|
|