Don't allow targeted navigations across BrowsingInstances.
BUG=126174
TEST=Click a target=foo link again after a WebUI nav in the new window.
Review URL: https://chromiumcodereview.appspot.com/10350013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135370 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index b330375..594a05c8 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -282,7 +282,8 @@
virtual void DocumentOnLoadCompletedInMainFrame(
content::RenderViewHost* render_view_host,
int32 page_id) OVERRIDE;
- virtual void RequestOpenURL(const GURL& url,
+ virtual void RequestOpenURL(content::RenderViewHost* rvh,
+ const GURL& url,
const content::Referrer& referrer,
WindowOpenDisposition disposition,
int64 source_frame_id) OVERRIDE;