Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3515)

Unified Diff: chrome/browser/chromeos/policy/display_rotation_default_handler_browsertest.cc

Issue 1638413007: Use list instead of pair to represent the set of displays. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build error Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/policy/display_rotation_default_handler_browsertest.cc
diff --git a/chrome/browser/chromeos/policy/display_rotation_default_handler_browsertest.cc b/chrome/browser/chromeos/policy/display_rotation_default_handler_browsertest.cc
index 0796ddfdc72911323778c557d9d39dea7717bf77..111defe94929cdffea5fc1c3ecbbac7018989509 100644
--- a/chrome/browser/chromeos/policy/display_rotation_default_handler_browsertest.cc
+++ b/chrome/browser/chromeos/policy/display_rotation_default_handler_browsertest.cc
@@ -56,10 +56,10 @@ gfx::Display::Rotation GetRotationOfSecondDisplay() {
<< "Requested rotation of second display while there was only one.";
return gfx::Display::ROTATE_0;
}
- const ash::DisplayIdPair display_id_pair =
- display_manager->GetCurrentDisplayIdPair();
+ const ash::DisplayIdList display_id_pair =
+ display_manager->GetCurrentDisplayIdList();
const gfx::Display& second_display =
- display_manager->GetDisplayForId(display_id_pair.second);
+ display_manager->GetDisplayForId(display_id_pair[1]);
return second_display.rotation();
}

Powered by Google App Engine
This is Rietveld 408576698