| Index: components/web_view/pending_web_view_load.cc
|
| diff --git a/components/web_view/pending_web_view_load.cc b/components/web_view/pending_web_view_load.cc
|
| index 81fc34118c90a2ff09d04835cf81adada307c573..726cee73a256e077b5175a0ebe27876bb8ff3f75 100644
|
| --- a/components/web_view/pending_web_view_load.cc
|
| +++ b/components/web_view/pending_web_view_load.cc
|
| @@ -18,6 +18,7 @@ PendingWebViewLoad::~PendingWebViewLoad() {}
|
|
|
| void PendingWebViewLoad::Init(mojo::URLRequestPtr request) {
|
| DCHECK(!frame_connection_);
|
| + pending_url_ = request->url;
|
| frame_connection_.reset(new FrameConnection);
|
| frame_connection_->Init(web_view_->app_, request.Pass(),
|
| base::Bind(&PendingWebViewLoad::OnGotContentHandlerID,
|
| @@ -27,7 +28,7 @@ void PendingWebViewLoad::Init(mojo::URLRequestPtr request) {
|
| void PendingWebViewLoad::OnGotContentHandlerID() {
|
| is_content_handler_id_valid_ = true;
|
| if (web_view_->content_)
|
| - web_view_->OnLoad();
|
| + web_view_->OnLoad(pending_url_);
|
| // The else case is handled by WebViewImpl when it gets the View (|content_|).
|
| }
|
|
|
|
|