| Index: chrome/browser/extensions/extension_dom_ui.cc
 | 
| diff --git a/chrome/browser/extensions/extension_dom_ui.cc b/chrome/browser/extensions/extension_dom_ui.cc
 | 
| index 044a28a714cdae1bfed224b4e98483457679696f..c3741c7c57c0de566eefe956f2955afa3b35fba7 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.pending_entry()->url();
 | 
| +  const GURL& url = controller.GetActiveEntry()->url();
 | 
|    extension_function_dispatcher_.reset(
 | 
|        new ExtensionFunctionDispatcher(render_view_host, this, url));
 | 
|  }
 | 
| 
 |