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

Unified Diff: chrome/browser/devtools/devtools_ui_bindings.cc

Issue 2361613002: DevTools: untangle device discovery request from the devtools android bridge. (Closed)
Patch Set: make device hosts profile-independent, plump browser context for inspect. Created 4 years, 3 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
Index: chrome/browser/devtools/devtools_ui_bindings.cc
diff --git a/chrome/browser/devtools/devtools_ui_bindings.cc b/chrome/browser/devtools/devtools_ui_bindings.cc
index 036b1b59995a66c283f0d81ad5e720bea3011175..3c5c76007c3da9f163b53e8a814774e5c8bee30e 100644
--- a/chrome/browser/devtools/devtools_ui_bindings.cc
+++ b/chrome/browser/devtools/devtools_ui_bindings.cc
@@ -812,7 +812,7 @@ void DevToolsUIBindings::PerformActionOnRemotePage(const std::string& page_id,
if (!host)
return;
if (action == kRemotePageActionInspect)
- host->Inspect();
+ host->Inspect(profile());
if (action == kRemotePageActionReload)
host->Reload();
if (action == kRemotePageActionActivate)

Powered by Google App Engine
This is Rietveld 408576698