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

Unified Diff: content/renderer/npapi/webplugin_delegate_proxy.cc

Issue 554743009: remove main_render_frame(), use GetMainRenderFrame() instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 3 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
« no previous file with comments | « content/renderer/history_entry.cc ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/npapi/webplugin_delegate_proxy.cc
diff --git a/content/renderer/npapi/webplugin_delegate_proxy.cc b/content/renderer/npapi/webplugin_delegate_proxy.cc
index 76d764d42949f53b4aaf57f62350138649be710b..0262e39f05f139a3c5824bc51493bc888cdccb88 100644
--- a/content/renderer/npapi/webplugin_delegate_proxy.cc
+++ b/content/renderer/npapi/webplugin_delegate_proxy.cc
@@ -313,7 +313,7 @@ bool WebPluginDelegateProxy::Initialize(
// shouldn't happen, since if we got here the plugin should exist) or the
// plugin crashed on initialization.
if (!info_.path.empty()) {
- render_view_->main_render_frame()->PluginCrashed(
+ render_view_->GetMainRenderFrame()->PluginCrashed(
info_.path, base::kNullProcessId);
LOG(ERROR) << "Plug-in crashed on start";
@@ -487,7 +487,7 @@ void WebPluginDelegateProxy::OnChannelError() {
plugin_->Invalidate();
}
if (channel_host_.get() && !channel_host_->expecting_shutdown()) {
- render_view_->main_render_frame()->PluginCrashed(
+ render_view_->GetMainRenderFrame()->PluginCrashed(
info_.path, channel_host_->peer_pid());
}
« no previous file with comments | « content/renderer/history_entry.cc ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698