summaryrefslogtreecommitdiffstats
path: root/chrome/views/view_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/view_unittest.cc')
-rw-r--r--chrome/views/view_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/views/view_unittest.cc b/chrome/views/view_unittest.cc
index 91c556c..38df3bd 100644
--- a/chrome/views/view_unittest.cc
+++ b/chrome/views/view_unittest.cc
@@ -281,7 +281,7 @@ TEST_F(ViewTest, MouseEvent) {
TestView* v2 = new TestView();
v2->SetBounds (100, 100, 100, 100);
- ChromeViews::HWNDViewContainer window;
+ ChromeViews::ContainerWin window;
window.set_delete_on_destroy(false);
window.set_window_style(WS_OVERLAPPEDWINDOW);
window.Init(NULL, gfx::Rect(50, 50, 650, 650), false);
@@ -355,7 +355,7 @@ TEST_F(ViewTest, Painting) {
RDW_UPDATENOW | RDW_INVALIDATE | RDW_ALLCHILDREN);
bool empty_paint = paint_window.empty_paint();
- ChromeViews::HWNDViewContainer window;
+ ChromeViews::ContainerWin window;
window.set_delete_on_destroy(false);
window.set_window_style(WS_OVERLAPPEDWINDOW);
window.Init(NULL, gfx::Rect(50, 50, 650, 650), NULL);
@@ -442,7 +442,7 @@ TEST_F(ViewTest, RemoveNotification) {
NotificationService::current()->AddObserver(
observer.get(), NOTIFY_VIEW_REMOVED, NotificationService::AllSources());
- ChromeViews::HWNDViewContainer* window = new ChromeViews::HWNDViewContainer;
+ ChromeViews::ContainerWin* window = new ChromeViews::ContainerWin;
ChromeViews::RootView* root_view = window->GetRootView();
View* v1 = new View;
@@ -546,7 +546,7 @@ gfx::Point ConvertPointToView(ChromeViews::View* view, const gfx::Point& p) {
}
TEST_F(ViewTest, HitTestMasks) {
- ChromeViews::HWNDViewContainer window;
+ ChromeViews::ContainerWin window;
ChromeViews::RootView* root_view = window.GetRootView();
root_view->SetBounds(0, 0, 500, 500);