| Index: chrome/browser/tab_contents/web_contents_unittest.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/web_contents_unittest.cc (revision 54041)
|
| +++ chrome/browser/tab_contents/web_contents_unittest.cc (working copy)
|
| @@ -206,7 +206,8 @@
|
| // Supply our own profile so we use the correct profile data. The test harness
|
| // is not supposed to overwrite a profile if it's already created.
|
| virtual void SetUp() {
|
| - profile_.reset(new TabContentsTestingProfile());
|
| + TestingProfile* profile = new TestingProfile();
|
| + profile_.reset(profile);
|
|
|
| RenderViewHostTestHarness::SetUp();
|
| }
|
|
|