| Index: chrome/browser/ui/constrained_window_tab_helper_unittest.cc
|
| diff --git a/chrome/browser/ui/constrained_window_tab_helper_unittest.cc b/chrome/browser/ui/constrained_window_tab_helper_unittest.cc
|
| index 93365cc84747301000a84585c60c19f8d6ce757d..f4e9c6b7038db8ae0812a4f9209186ea37dcfca9 100644
|
| --- a/chrome/browser/ui/constrained_window_tab_helper_unittest.cc
|
| +++ b/chrome/browser/ui/constrained_window_tab_helper_unittest.cc
|
| @@ -4,7 +4,7 @@
|
|
|
| #include "chrome/browser/ui/constrained_window.h"
|
| #include "chrome/browser/ui/constrained_window_tab_helper.h"
|
| -#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| +#include "chrome/browser/ui/tab_contents/tab_contents.h"
|
| #include "chrome/browser/ui/tab_contents/test_tab_contents.h"
|
| #include "content/public/test/test_browser_thread.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -24,8 +24,8 @@ class ConstrainedWindowTabHelperUnit : public TabContentsTestHarness {
|
|
|
| class ConstrainedWindowCloseTest : public ConstrainedWindow {
|
| public:
|
| - explicit ConstrainedWindowCloseTest(TabContentsWrapper* wrapper)
|
| - : wrapper_(wrapper) {
|
| + explicit ConstrainedWindowCloseTest(TabContents* tab_contents)
|
| + : tab_contents_(tab_contents) {
|
| }
|
|
|
| virtual void ShowConstrainedWindow() {}
|
| @@ -33,12 +33,12 @@ class ConstrainedWindowCloseTest : public ConstrainedWindow {
|
| virtual ~ConstrainedWindowCloseTest() {}
|
|
|
| virtual void CloseConstrainedWindow() {
|
| - wrapper_->constrained_window_tab_helper()->WillClose(this);
|
| + tab_contents_->constrained_window_tab_helper()->WillClose(this);
|
| close_count++;
|
| }
|
|
|
| int close_count;
|
| - TabContentsWrapper* wrapper_;
|
| + TabContents* tab_contents_;
|
| };
|
|
|
| TEST_F(ConstrainedWindowTabHelperUnit, ConstrainedWindows) {
|
|
|