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

Unified Diff: chrome/browser/ui/webui/options/options_handlers_helper.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
Index: chrome/browser/ui/webui/options/options_handlers_helper.cc
diff --git a/chrome/browser/ui/webui/options/options_handlers_helper.cc b/chrome/browser/ui/webui/options/options_handlers_helper.cc
index b8bda6adf9a82a25246482de79b934212abc2119..3f06176a77e2bc58530485abaa218fc6023ea057 100644
--- a/chrome/browser/ui/webui/options/options_handlers_helper.cc
+++ b/chrome/browser/ui/webui/options/options_handlers_helper.cc
@@ -26,7 +26,7 @@ chrome::HostDesktopType GetDesktopType(content::WebUI* web_ui) {
extensions::AppWindow* app_window =
extensions::AppWindowRegistry::Get(Profile::FromWebUI(web_ui))
- ->GetAppWindowForRenderViewHost(web_contents->GetRenderViewHost());
+ ->GetAppWindowForWebContents(web_contents);
if (app_window) {
return chrome::GetHostDesktopTypeForNativeWindow(
app_window->GetNativeWindow());

Powered by Google App Engine
This is Rietveld 408576698