diff options
Diffstat (limited to 'chrome/browser/cocoa/tabpose_window_unittest.mm')
| -rw-r--r-- | chrome/browser/cocoa/tabpose_window_unittest.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/tabpose_window_unittest.mm b/chrome/browser/cocoa/tabpose_window_unittest.mm index c1c56d2..4874b30 100644 --- a/chrome/browser/cocoa/tabpose_window_unittest.mm +++ b/chrome/browser/cocoa/tabpose_window_unittest.mm @@ -9,6 +9,7 @@ #import "chrome/browser/cocoa/cocoa_test_helper.h" #include "chrome/browser/renderer_host/site_instance.h" #include "chrome/browser/tab_contents/tab_contents.h" +#include "chrome/browser/tab_contents_wrapper.h" #include "chrome/browser/tabs/tab_strip_model.h" #include "testing/gtest/include/gtest/gtest.h" @@ -20,7 +21,7 @@ class TabposeWindowTest : public CocoaTest { } void AppendTabToStrip() { - TabContents* tab_contents = new TabContents( + TabContentsWrapper* tab_contents = Browser::TabContentsFactory( browser_helper_.profile(), site_instance_, MSG_ROUTING_NONE, NULL, NULL); browser_helper_.browser()->tabstrip_model()->AppendTabContents( |
