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

Unified Diff: chrome/browser/ui/browser.cc

Issue 10411036: Separate BrowserWindow from Panel class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac unit_tests compile Created 8 years, 7 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/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 987af6c2271b886ff7cef3465471b2785fb1e1a5..7b7656c55697f502542f224763012986978ea388 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -3393,7 +3393,7 @@ BrowserWindow* Browser::CreateBrowserWindow() {
create_panel = is_type_panel();
#endif
if (create_panel)
- return PanelManager::GetInstance()->CreatePanel(this);
+ return PanelManager::GetInstance()->CreatePanel(this)->browser_window();
return BrowserWindow::CreateBrowserWindow(this);
}
« no previous file with comments | « no previous file | chrome/browser/ui/panels/base_panel_browser_test.cc » ('j') | chrome/browser/ui/panels/panel_browser_window.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698