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

Unified Diff: chrome/browser/ui/webui/chromeos/active_downloads_ui.cc

Issue 9968078: Honor window size for chrome.windows.create when parent window is maximized. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove extraneous logging Created 8 years, 9 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/chromeos/active_downloads_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/active_downloads_ui.cc b/chrome/browser/ui/webui/chromeos/active_downloads_ui.cc
index a1d73bab508cbc283df9f3a5413829d33303ed50..9bcdc624caea134c017e463dcdcb30e41a55afea 100644
--- a/chrome/browser/ui/webui/chromeos/active_downloads_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/active_downloads_ui.cc
@@ -354,8 +354,9 @@ Browser* ActiveDownloadsUI::OpenPopup(Profile* profile) {
// Create new browser if no matching pop up is found.
if (browser == NULL) {
- browser = Browser::CreateForApp(Browser::TYPE_PANEL, kActiveDownloadAppName,
- gfx::Rect(), profile);
+ browser = Browser::CreateWithParams(
+ Browser::CreateParams::CreateForApp(
+ Browser::TYPE_PANEL, kActiveDownloadAppName, gfx::Rect(), profile));
browser::NavigateParams params(
browser,

Powered by Google App Engine
This is Rietveld 408576698