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 59f4a32352388e4dc6f3e67f4c752e7606627ca4..f45218a49f84cbd6a5f8911d17466641d174b5b6 100644 |
--- a/ash/system/web_notification/web_notification_tray_unittest.cc |
+++ b/ash/system/web_notification/web_notification_tray_unittest.cc |
@@ -420,7 +420,8 @@ TEST_F(WebNotificationTrayTest, MAYBE_PopupAndFullscreen) { |
WmLookup::Get() |
->GetWindowForWidget(widget.get()) |
->GetWindowState() |
- ->set_hide_shelf_when_fullscreen(false); |
+ ->set_shelf_mode_in_fullscreen( |
+ ash::wm::WindowState::SHELF_AUTO_HIDE_VISIBLE); |
widget->SetFullscreen(true); |
RunAllPendingInMessageLoop(); |