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

Unified Diff: chrome/browser/extensions/extension_tab_util.cc

Issue 1211003006: [Extensions OOPI] Update app window bindings for OOPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/options_handlers_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_tab_util.cc
diff --git a/chrome/browser/extensions/extension_tab_util.cc b/chrome/browser/extensions/extension_tab_util.cc
index f1783f72ecba294145bea60075ecb628e8dd1d18..fb368a17248a7de5cec668923d896c84a95119e4 100644
--- a/chrome/browser/extensions/extension_tab_util.cc
+++ b/chrome/browser/extensions/extension_tab_util.cc
@@ -55,8 +55,7 @@ WindowController* GetAppWindowController(const WebContents* contents) {
AppWindowRegistry* registry = AppWindowRegistry::Get(profile);
if (!registry)
return NULL;
- AppWindow* app_window =
- registry->GetAppWindowForRenderViewHost(contents->GetRenderViewHost());
+ AppWindow* app_window = registry->GetAppWindowForWebContents(contents);
if (!app_window)
return NULL;
return WindowControllerList::GetInstance()->FindWindowById(
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/options_handlers_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698