Index: chrome/browser/extensions/api/tabs/windows_util.cc |
diff --git a/chrome/browser/extensions/api/tabs/windows_util.cc b/chrome/browser/extensions/api/tabs/windows_util.cc |
index 0cb10e3bb38abd097234c9d7bfd29b3cff4c3d34..48c6824f4775f9fb2448eae6bfa7d36ef245b762 100644 |
--- a/chrome/browser/extensions/api/tabs/windows_util.cc |
+++ b/chrome/browser/extensions/api/tabs/windows_util.cc |
@@ -22,7 +22,7 @@ bool GetWindowFromWindowID(ChromeUIThreadExtensionFunction* function, |
ChromeExtensionFunctionDetails function_details(function); |
if (window_id == extension_misc::kCurrentWindowId) { |
extensions::WindowController* extension_window_controller = |
- function->dispatcher()->delegate()->GetExtensionWindowController(); |
+ function->dispatcher()->GetExtensionWindowController(); |
// If there is a window controller associated with this extension, use that. |
if (extension_window_controller) { |
*controller = extension_window_controller; |