| Index: ash/wm/workspace/workspace_event_handler_unittest.cc
|
| diff --git a/ash/wm/workspace/workspace_event_handler_unittest.cc b/ash/wm/workspace/workspace_event_handler_unittest.cc
|
| index feec4bdbc6b3d4037d12aaadf9a8be8129cf4de4..b42c85135955755435a96d2ced906352f728a43f 100644
|
| --- a/ash/wm/workspace/workspace_event_handler_unittest.cc
|
| +++ b/ash/wm/workspace/workspace_event_handler_unittest.cc
|
| @@ -271,12 +271,14 @@ TEST_F(WorkspaceEventHandlerTest, DoubleClickCaptionTogglesMaximize) {
|
| WindowPropertyObserver observer(window.get());
|
| ui::MouseEvent press(ui::ET_MOUSE_PRESSED, generator.current_location(),
|
| generator.current_location(),
|
| - ui::EF_MIDDLE_MOUSE_BUTTON | ui::EF_IS_DOUBLE_CLICK);
|
| + ui::EF_MIDDLE_MOUSE_BUTTON | ui::EF_IS_DOUBLE_CLICK,
|
| + ui::EF_MIDDLE_MOUSE_BUTTON);
|
| aura::WindowEventDispatcher* dispatcher = root->GetDispatcher();
|
| dispatcher->AsRootWindowHostDelegate()->OnHostMouseEvent(&press);
|
| ui::MouseEvent release(ui::ET_MOUSE_RELEASED, generator.current_location(),
|
| generator.current_location(),
|
| - ui::EF_IS_DOUBLE_CLICK);
|
| + ui::EF_IS_DOUBLE_CLICK,
|
| + ui::EF_MIDDLE_MOUSE_BUTTON);
|
| dispatcher->AsRootWindowHostDelegate()->OnHostMouseEvent(&release);
|
|
|
| EXPECT_FALSE(window_state->IsMaximized());
|
|
|