| Index: chrome/browser/ui/tab_contents/test_tab_contents_wrapper.cc
|
| diff --git a/chrome/browser/ui/tab_contents/test_tab_contents_wrapper.cc b/chrome/browser/ui/tab_contents/test_tab_contents_wrapper.cc
|
| index 28aa5a448081fa00f31851804e835983d011cf82..8ae1173cd6a82e6447707cc303dbbd3643d588bb 100644
|
| --- a/chrome/browser/ui/tab_contents/test_tab_contents_wrapper.cc
|
| +++ b/chrome/browser/ui/tab_contents/test_tab_contents_wrapper.cc
|
| @@ -23,8 +23,12 @@ TabContentsWrapper* TabContentsWrapperTestHarness::contents_wrapper() {
|
| return contents_wrapper_.get();
|
| }
|
|
|
| +void TabContentsWrapperTestHarness::SetContents(TestTabContents* contents) {
|
| + contents_wrapper_.reset(new TabContentsWrapper(contents));
|
| +}
|
| +
|
| void TabContentsWrapperTestHarness::SetUp() {
|
| - contents_wrapper_.reset(new TabContentsWrapper(CreateTestTabContents()));
|
| + SetContents(CreateTestTabContents());
|
| }
|
|
|
| void TabContentsWrapperTestHarness::TearDown() {
|
|
|