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

Unified Diff: components/web_view/pending_web_view_load.cc

Issue 1674903003: Extract shell methods from ApplicationImpl into a base class, and pass this to Initialize() instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojom
Patch Set: . Created 4 years, 10 months 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
« no previous file with comments | « components/web_view/frame_devtools_agent.cc ('k') | components/web_view/public/cpp/web_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d5db3543b7bbf3a9e79ed88afe9f1c2c1dda1d04..9969324c890578fd54a9a418f8659a5c8f171fcf 100644
--- a/components/web_view/pending_web_view_load.cc
+++ b/components/web_view/pending_web_view_load.cc
@@ -24,7 +24,7 @@ void PendingWebViewLoad::Init(mojo::URLRequestPtr request) {
navigation_start_time_ =
base::TimeTicks::FromInternalValue(request->originating_time_ticks);
frame_connection_.reset(new FrameConnection);
- frame_connection_->Init(web_view_->app_, std::move(request),
+ frame_connection_->Init(web_view_->shell_, std::move(request),
base::Bind(&PendingWebViewLoad::OnGotContentHandlerID,
base::Unretained(this)));
}
« no previous file with comments | « components/web_view/frame_devtools_agent.cc ('k') | components/web_view/public/cpp/web_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698