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

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

Issue 2907663004: FrameTree::Find only searches relative to local frames. (Closed)
Patch Set: Rebasing... Created 3 years, 7 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
Index: content/renderer/pepper/pepper_plugin_instance_impl.cc
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc
index bddc0aa5007dde1f22ee2316c2b00f8b5d6af86c..cb06ebf83853f4cd8e8b85fba1fc3f060209194a 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc
@@ -3265,7 +3265,7 @@ int32_t PepperPluginInstanceImpl::Navigate(
// In imitation of the NPAPI implementation, only |target_frame == frame| is
// allowed for security reasons.
WebFrame* target_frame =
- frame->View()->FindFrameByName(WebString::FromUTF8(target), frame);
+ frame->FindFrameByName(WebString::FromUTF8(target));
if (target_frame != frame)
return PP_ERROR_NOACCESS;
« no previous file with comments | « components/printing/test/print_web_view_helper_browsertest.cc ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698