Index: ui/views/view_unittest.cc |
diff --git a/ui/views/view_unittest.cc b/ui/views/view_unittest.cc |
index 7bcef0e8f1596486955bd17b8f82bef188726cbd..fccb4fc7969101d21d0c592c1ef73987041b58b6 100644 |
--- a/ui/views/view_unittest.cc |
+++ b/ui/views/view_unittest.cc |
@@ -368,7 +368,7 @@ TEST_F(ViewTest, MouseEvent) { |
v2->Reset(); |
ui::MouseEvent released(ui::ET_MOUSE_RELEASED, gfx::Point(), gfx::Point(), 0, |
0); |
- root->OnMouseDragged(released); |
+ root->OnMouseReleased(released); |
sadrul
2014/09/26 20:59:12
whoa
|
EXPECT_EQ(v2->last_mouse_event_type_, ui::ET_MOUSE_RELEASED); |
EXPECT_EQ(v2->location_.x(), -100); |
EXPECT_EQ(v2->location_.y(), -100); |