| Index: chrome/browser/extensions/display_info_provider_chromeos_unittest.cc
|
| diff --git a/chrome/browser/extensions/display_info_provider_chromeos_unittest.cc b/chrome/browser/extensions/display_info_provider_chromeos_unittest.cc
|
| index 493e54c4ac7ca72264f6af428cb46a200877b620..caef15fbb5df5ddd2d88db621bc18ea5583e4ed3 100644
|
| --- a/chrome/browser/extensions/display_info_provider_chromeos_unittest.cc
|
| +++ b/chrome/browser/extensions/display_info_provider_chromeos_unittest.cc
|
| @@ -121,7 +121,8 @@ 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,
|
| + gfx::Display::ROTATION_SOURCE_ACTIVE);
|
|
|
| result = DisplayInfoProvider::Get()->GetAllDisplaysInfo();
|
|
|
| @@ -131,7 +132,8 @@ 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,
|
| + gfx::Display::ROTATION_SOURCE_ACTIVE);
|
|
|
| result = DisplayInfoProvider::Get()->GetAllDisplaysInfo();
|
|
|
| @@ -141,7 +143,8 @@ 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,
|
| + gfx::Display::ROTATION_SOURCE_ACTIVE);
|
|
|
| result = DisplayInfoProvider::Get()->GetAllDisplaysInfo();
|
|
|
|
|