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

Unified Diff: chrome/browser/ui/cocoa/applescript/browsercrapplication+applescript_test.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/browsercrapplication+applescript_test.mm
===================================================================
--- chrome/browser/ui/cocoa/applescript/browsercrapplication+applescript_test.mm (revision 148382)
+++ chrome/browser/ui/cocoa/applescript/browsercrapplication+applescript_test.mm (working copy)
@@ -21,9 +21,9 @@
IN_PROC_BROWSER_TEST_F(BrowserCrApplicationAppleScriptTest, Creation) {
// Create additional |Browser*| objects of different type.
Profile* profile = browser()->profile();
- Browser* b1 = Browser::CreateWithParams(
- Browser::CreateParams(Browser::TYPE_POPUP, profile));
- Browser* b2 = Browser::CreateWithParams(
+ Browser* b1 =
+ new Browser(Browser::CreateParams(Browser::TYPE_POPUP, profile));
+ Browser* b2 = new Browser(
Browser::CreateParams::CreateForApp(
Browser::TYPE_PANEL, "Test", gfx::Rect(), profile));
« no previous file with comments | « chrome/browser/ui/browser_tab_strip_model_delegate.cc ('k') | chrome/browser/ui/cocoa/applescript/window_applescript.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698