Index: chrome/browser/ui/browser_command_controller_unittest.cc |
diff --git a/chrome/browser/ui/browser_command_controller_unittest.cc b/chrome/browser/ui/browser_command_controller_unittest.cc |
index 2205e3bb3850755b55453c84d7ca0f6544e13516..a899ec50a284eb18ed6199671efab76a510ea1d1 100644 |
--- a/chrome/browser/ui/browser_command_controller_unittest.cc |
+++ b/chrome/browser/ui/browser_command_controller_unittest.cc |
@@ -328,7 +328,8 @@ TEST_F(BrowserCommandControllerTest, |
ASSERT_TRUE(testing_profile_manager.SetUp()); |
// Set up a profile with an off the record profile. |
- TestingProfile* profile2 = new TestingProfile(); |
+ TestingProfile::Builder builder; |
+ TestingProfile* profile2 = builder.Build().release(); |
sky
2013/03/08 16:08:05
I'm not familiar with TestingPRofile::Builder, who
Adrian Kuegel
2013/03/08 16:28:54
Build() returns a scoped_ptr. So I assume with thi
|
profile2->set_incognito(true); |
TestingProfile* profile1 = |
testing_profile_manager.CreateTestingProfile("p1"); |