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

Unified Diff: content/renderer/pepper/pepper_in_process_router.cc

Issue 107183002: Move more of the plugin code in the renderer to use RenderFrame instead of RenderView. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 7 years 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 | « content/renderer/npapi/webplugin_impl.cc ('k') | content/renderer/pepper/plugin_module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_in_process_router.cc
===================================================================
--- content/renderer/pepper/pepper_in_process_router.cc (revision 238847)
+++ content/renderer/pepper/pepper_in_process_router.cc (working copy)
@@ -67,7 +67,7 @@
int routing_id = 0;
RenderFrame* frame = host_impl_->GetRenderFrameForInstance(instance);
if (frame)
- routing_id = (static_cast<RenderFrameImpl*>(frame))->routing_id();
+ routing_id = frame->GetRoutingID();
return ppapi::proxy::Connection(browser_channel_.get(),
plugin_to_host_router_.get(),
routing_id);
« no previous file with comments | « content/renderer/npapi/webplugin_impl.cc ('k') | content/renderer/pepper/plugin_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698