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

Unified Diff: chrome/browser/ui/cocoa/applescript/window_applescript.mm

Issue 10692195: Consolidate Browser Creation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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/cocoa/applescript/window_applescript.mm
===================================================================
--- chrome/browser/ui/cocoa/applescript/window_applescript.mm (revision 148382)
+++ chrome/browser/ui/cocoa/applescript/window_applescript.mm (working copy)
@@ -70,7 +70,7 @@
}
if ((self = [super init])) {
- browser_ = Browser::Create(aProfile);
+ browser_ = new Browser(Browser::CreateParams(aProfile));
chrome::NewTab(browser_);
browser_->window()->Show();
scoped_nsobject<NSNumber> numID(

Powered by Google App Engine
This is Rietveld 408576698