Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Unified Diff: chrome/browser/extensions/api/tabs/windows_util.cc

Issue 1169223002: [Extensions] Clean up the handling of ExtensionHostMsg_Request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698