Index: ash/wm/overview/window_selector_unittest.cc |
diff --git a/ash/wm/overview/window_selector_unittest.cc b/ash/wm/overview/window_selector_unittest.cc |
index 0e15230037602067531f049e7394ed5960339ccd..01fdf63e51712d590a039e6e14e95bebf4d72513 100644 |
--- a/ash/wm/overview/window_selector_unittest.cc |
+++ b/ash/wm/overview/window_selector_unittest.cc |
@@ -739,8 +739,7 @@ TEST_F(WindowSelectorTest, WindowDoesNotReceiveEvents) { |
// The event should target the window because we are still not in overview |
// mode. |
- EXPECT_EQ(window, static_cast<aura::Window*>( |
- targeter->FindTargetForEvent(root_target, &event1))); |
+ EXPECT_EQ(window.get(), targeter->FindTargetForEvent(root_target, &event1)); |
ToggleOverview(); |
@@ -751,8 +750,7 @@ TEST_F(WindowSelectorTest, WindowDoesNotReceiveEvents) { |
ui::EventTimeForNow(), ui::EF_NONE, ui::EF_NONE); |
// Now the transparent window should be intercepting this event. |
- EXPECT_NE(window, static_cast<aura::Window*>( |
- targeter->FindTargetForEvent(root_target, &event2))); |
+ EXPECT_NE(window.get(), targeter->FindTargetForEvent(root_target, &event2)); |
} |
// Tests that clicking on the close button effectively closes the window. |