| Index: chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc
|
| diff --git a/chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc b/chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc
|
| index 9c0e4113b30fc6de7f1750c08b7717356e1ce0f9..530541ef0052924595962ca4d6b539661eb57a98 100644
|
| --- a/chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc
|
| +++ b/chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc
|
| @@ -119,7 +119,9 @@ TEST_F(DisplayInfoProviderChromeosTest, GetRotation) {
|
| EXPECT_EQ("0,0 600x500", SystemInfoDisplayBoundsToString(result[0]->bounds));
|
| EXPECT_EQ(90, result[0]->rotation);
|
|
|
| - GetDisplayManager()->SetDisplayRotation(display_id, gfx::Display::ROTATE_270);
|
| + GetDisplayManager()->SetDisplayRotation(display_id,
|
| + gfx::Display::ROTATE_270,
|
| + ui::USER);
|
|
|
| result = DisplayInfoProvider::Get()->GetAllDisplaysInfo();
|
|
|
| @@ -129,7 +131,9 @@ TEST_F(DisplayInfoProviderChromeosTest, GetRotation) {
|
| EXPECT_EQ("0,0 600x500", SystemInfoDisplayBoundsToString(result[0]->bounds));
|
| EXPECT_EQ(270, result[0]->rotation);
|
|
|
| - GetDisplayManager()->SetDisplayRotation(display_id, gfx::Display::ROTATE_180);
|
| + GetDisplayManager()->SetDisplayRotation(display_id,
|
| + gfx::Display::ROTATE_180,
|
| + ui::USER);
|
|
|
| result = DisplayInfoProvider::Get()->GetAllDisplaysInfo();
|
|
|
| @@ -139,7 +143,9 @@ TEST_F(DisplayInfoProviderChromeosTest, GetRotation) {
|
| EXPECT_EQ("0,0 500x600", SystemInfoDisplayBoundsToString(result[0]->bounds));
|
| EXPECT_EQ(180, result[0]->rotation);
|
|
|
| - GetDisplayManager()->SetDisplayRotation(display_id, gfx::Display::ROTATE_0);
|
| + GetDisplayManager()->SetDisplayRotation(display_id,
|
| + gfx::Display::ROTATE_0,
|
| + ui::USER);
|
|
|
| result = DisplayInfoProvider::Get()->GetAllDisplaysInfo();
|
|
|
|
|