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

Unified Diff: chrome/renderer/plugins/chrome_plugin_placeholder.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
Index: chrome/renderer/plugins/chrome_plugin_placeholder.cc
===================================================================
--- chrome/renderer/plugins/chrome_plugin_placeholder.cc (revision 238847)
+++ chrome/renderer/plugins/chrome_plugin_placeholder.cc (working copy)
@@ -12,6 +12,7 @@
#include "chrome/renderer/custom_menu_commands.h"
#include "chrome/renderer/plugins/plugin_uma.h"
#include "content/public/common/context_menu_params.h"
+#include "content/public/renderer/render_frame.h"
#include "content/public/renderer/render_thread.h"
#include "content/public/renderer/render_view.h"
#include "grit/generated_resources.h"
@@ -281,7 +282,7 @@
ChromeViewHostMsg_GetPluginInfo_Output output;
std::string mime_type(GetPluginParams().mimeType.utf8());
render_view()->Send(
- new ChromeViewHostMsg_GetPluginInfo(routing_id(),
+ new ChromeViewHostMsg_GetPluginInfo(GetRenderFrame()->GetRoutingID(),
GURL(GetPluginParams().url),
document.url(),
mime_type,
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | content/browser/frame_host/render_frame_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698