Index: extensions/browser/extension_function.cc |
diff --git a/extensions/browser/extension_function.cc b/extensions/browser/extension_function.cc |
index 46e3ba136953c3f02df46ed287780e1c6b712e36..818c11f654b9185e857fcfe6dff624db7f2cf824 100644 |
--- a/extensions/browser/extension_function.cc |
+++ b/extensions/browser/extension_function.cc |
@@ -463,7 +463,7 @@ void UIThreadExtensionFunction::SetRenderFrameHost( |
content::WebContents* UIThreadExtensionFunction::GetAssociatedWebContents() { |
content::WebContents* web_contents = NULL; |
if (dispatcher()) |
- web_contents = dispatcher()->delegate()->GetAssociatedWebContents(); |
+ web_contents = dispatcher()->GetAssociatedWebContents(); |
return web_contents; |
} |