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);