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

Unified Diff: components/web_view/frame_devtools_agent.cc

Issue 1455833005: Convert ConnectToApplication to take a params class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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
« no previous file with comments | « components/web_view/frame_connection.cc ('k') | components/web_view/public/cpp/web_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/frame_devtools_agent.cc
diff --git a/components/web_view/frame_devtools_agent.cc b/components/web_view/frame_devtools_agent.cc
index b11a946e501d4bf826f3bcf87e5dc1e3ee162671..a9bceebd20dd99d6431dfc17b67be07e1dc20421 100644
--- a/components/web_view/frame_devtools_agent.cc
+++ b/components/web_view/frame_devtools_agent.cc
@@ -120,10 +120,8 @@ void FrameDevToolsAgent::RegisterAgentIfNecessary() {
if (binding_.is_bound())
return;
- mojo::URLRequestPtr request(mojo::URLRequest::New());
- request->url = "mojo:devtools_service";
DevToolsRegistryPtr devtools_registry;
- app_->ConnectToService(request.Pass(), &devtools_registry);
+ app_->ConnectToService("mojo:devtools_service", &devtools_registry);
DevToolsAgentPtr agent;
binding_.Bind(&agent);
« no previous file with comments | « components/web_view/frame_connection.cc ('k') | components/web_view/public/cpp/web_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698