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 d763a5635f5b92d6fb8ebbaea455e043b5f539fe..da333b7557b525d6be58c285375c00f7944d387a 100644 |
--- a/ash/system/web_notification/web_notification_tray_unittest.cc |
+++ b/ash/system/web_notification/web_notification_tray_unittest.cc |
@@ -429,9 +429,10 @@ TEST_F(WebNotificationTrayTest, MAYBE_PopupAndFullscreen) { |
gfx::Rect work_area_auto_hidden = GetPopupWorkArea(); |
shelf->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_NEVER); |
- // Make the window to use immersive mode. |
- window->SetProperty(internal::kFullscreenUsesMinimalChromeKey, true); |
+ // Make the window use browser immersive fullscreen. |
window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_FULLSCREEN); |
+ window->SetProperty(internal::kFullscreenTypeKey, |
+ wm::FULLSCREEN_TYPE_IMMERSIVE_MINIMAL_CHROME); |
RunAllPendingInMessageLoop(); |
// The work area for auto-hidden status of fullscreen is a bit larger |