diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-02 22:40:20 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-02 22:40:20 +0000 |
commit | bce1e59121a045815e47060dbb3525d4fea7b4fb (patch) | |
tree | 60201058b1ed256654176aaa6e092488303ee088 /chrome/browser/extensions/extension_dom_ui.cc | |
parent | 5f507c9644ada6a6d2856c6920767c5f2cedd7b8 (diff) | |
download | chromium_src-bce1e59121a045815e47060dbb3525d4fea7b4fb.zip chromium_src-bce1e59121a045815e47060dbb3525d4fea7b4fb.tar.gz chromium_src-bce1e59121a045815e47060dbb3525d4fea7b4fb.tar.bz2 |
Revert r25250: "Allow DOMUI pages to call window.open(), giving DOMUI privileges to the new"
Review URL: http://codereview.chromium.org/171127
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25256 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_dom_ui.cc')
-rw-r--r-- | chrome/browser/extensions/extension_dom_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_dom_ui.cc b/chrome/browser/extensions/extension_dom_ui.cc index c3741c7..044a28a 100644 --- a/chrome/browser/extensions/extension_dom_ui.cc +++ b/chrome/browser/extensions/extension_dom_ui.cc @@ -40,7 +40,7 @@ void ExtensionDOMUI::ResetExtensionFunctionDispatcher( // Use the NavigationController to get the URL rather than the TabContents // since this is the real underlying URL (see HandleChromeURLOverride). NavigationController& controller = tab_contents()->controller(); - const GURL& url = controller.GetActiveEntry()->url(); + const GURL& url = controller.pending_entry()->url(); extension_function_dispatcher_.reset( new ExtensionFunctionDispatcher(render_view_host, this, url)); } |