commit | 60eca4eb056d421943eba9b87d6590985565c2fb | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Fri Dec 06 00:02:16 2013 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Fri Dec 06 00:02:16 2013 |
tree | 653086542564cdb19099cd3cf2d6baa89cd1b025 | |
parent | 24835e9056711da23091ce0116e7ca41d1bdf279 [diff] [blame] |
Move more of the plugin code in the renderer to use RenderFrame instead of RenderView. This is part of the work of making ContentRendererClient's OverrideCreatePlugin and CreatePluginReplacement take only a RenderFrame. I'm still not there yet, which is why their signatures haven't been trimmed. BUG=304341 [email protected], [email protected] Review URL: https://codereview.chromium.org/107183002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239075 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/renderer/pepper/pepper_in_process_router.cc b/content/renderer/pepper/pepper_in_process_router.cc index 3773515e..45755e1 100644 --- a/content/renderer/pepper/pepper_in_process_router.cc +++ b/content/renderer/pepper/pepper_in_process_router.cc
@@ -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);