Index: ash/content/display/screen_orientation_controller_chromeos_unittest.cc |
diff --git a/ash/content/display/screen_orientation_controller_chromeos_unittest.cc b/ash/content/display/screen_orientation_controller_chromeos_unittest.cc |
index 6ce5086cd31ded288406149064d2e13aaa2268aa..5a5b8ab3f61360865eb2ce590e55f9c5c903e1e7 100644 |
--- a/ash/content/display/screen_orientation_controller_chromeos_unittest.cc |
+++ b/ash/content/display/screen_orientation_controller_chromeos_unittest.cc |
@@ -437,7 +437,8 @@ TEST_F(ScreenOrientationControllerTest, BlockRotationNotifications) { |
EXPECT_TRUE(message_center->HasPopupNotifications()); |
// Clear all notifications |
- message_center->RemoveAllNotifications(false); |
+ message_center->RemoveAllNotifications( |
+ false /* by_user */, message_center::MessageCenter::RemoveType::ALL); |
EXPECT_EQ(0u, message_center->NotificationCount()); |
EXPECT_FALSE(message_center->HasPopupNotifications()); |
@@ -456,7 +457,8 @@ TEST_F(ScreenOrientationControllerTest, BlockRotationNotifications) { |
// Reset the screen rotation. |
SetInternalDisplayRotation(gfx::Display::ROTATE_0); |
// Clear all notifications |
- message_center->RemoveAllNotifications(false); |
+ message_center->RemoveAllNotifications( |
+ false /* by_user */, message_center::MessageCenter::RemoveType::ALL); |
ASSERT_NE(gfx::Display::ROTATE_180, GetCurrentInternalDisplayRotation()); |
ASSERT_EQ(0u, message_center->NotificationCount()); |
ASSERT_FALSE(message_center->HasPopupNotifications()); |