| Index: chrome/browser/ui/tab_contents/test_tab_contents.cc
|
| diff --git a/chrome/browser/ui/tab_contents/test_tab_contents.cc b/chrome/browser/ui/tab_contents/test_tab_contents.cc
|
| index a28e1176a7a1fe13c547a7e1c880d93c923e4df9..7003faf6c1be787e6cba97702defda5b8f9fe8da 100644
|
| --- a/chrome/browser/ui/tab_contents/test_tab_contents.cc
|
| +++ b/chrome/browser/ui/tab_contents/test_tab_contents.cc
|
| @@ -26,7 +26,8 @@ TabContents* TabContentsTestHarness::tab_contents() {
|
| }
|
|
|
| void TabContentsTestHarness::SetContents(WebContents* contents) {
|
| - tab_contents_.reset(contents ? new TabContents(contents) : NULL);
|
| + tab_contents_.reset(
|
| + contents ? TabContents::Factory::CreateTabContents(contents) : NULL);
|
| }
|
|
|
| void TabContentsTestHarness::SetUp() {
|
|
|