Index: ash/system/web_notification/web_notification_tray_unittest.cc |
diff --git a/ash/system/web_notification/web_notification_tray_unittest.cc b/ash/system/web_notification/web_notification_tray_unittest.cc |
index 5ae2e49deaf8612d3fcb5540ba6eb1a62b1d8b66..ea87c4976c26d9f2f4d18a267a56b19ad5ef8a47 100644 |
--- a/ash/system/web_notification/web_notification_tray_unittest.cc |
+++ b/ash/system/web_notification/web_notification_tray_unittest.cc |
@@ -434,6 +434,7 @@ TEST_F(WebNotificationTrayTest, MAYBE_PopupAndFullscreen) { |
// hidden. |
wm::GetWindowState(window.get())->set_hide_shelf_when_fullscreen(false); |
window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_FULLSCREEN); |
+ wm::GetWindowState(window.get())->Activate(); |
RunAllPendingInMessageLoop(); |
// The work area for auto-hidden status of fullscreen is a bit larger |