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

Unified Diff: chrome/browser/extensions/execute_code_in_tab_function.cc

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for initial review. Created 8 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
Index: chrome/browser/extensions/execute_code_in_tab_function.cc
diff --git a/chrome/browser/extensions/execute_code_in_tab_function.cc b/chrome/browser/extensions/execute_code_in_tab_function.cc
index 35e7b3cd8bd4e11f3ace072f2e1bb022a5b92b4c..b052ace45002c7f346c85fbf48320f4d8caf4323 100644
--- a/chrome/browser/extensions/execute_code_in_tab_function.cc
+++ b/chrome/browser/extensions/execute_code_in_tab_function.cc
@@ -226,7 +226,8 @@ bool ExecuteCodeInTabFunction::Execute(const std::string& code_string) {
params.in_main_world = false;
contents->web_contents()->GetRenderViewHost()->Send(
new ExtensionMsg_ExecuteCode(
- contents->web_contents()->GetRenderViewHost()->routing_id(), params));
+ contents->web_contents()->GetRenderViewHost()->GetRoutingID(),
+ params));
Observe(contents->web_contents());
AddRef(); // balanced in OnExecuteCodeFinished()

Powered by Google App Engine
This is Rietveld 408576698