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

Unified Diff: ash/display/projecting_observer_chromeos.cc

Issue 1019623002: Remove DisplayState from the public interface for DisplayConfigurator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 5 years, 9 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: ash/display/projecting_observer_chromeos.cc
diff --git a/ash/display/projecting_observer_chromeos.cc b/ash/display/projecting_observer_chromeos.cc
index b4ac64e12daf1fc81711034619cd6537b9da5717..0bf6af47883e4b0f12c949a7e547c7ec08962177 100644
--- a/ash/display/projecting_observer_chromeos.cc
+++ b/ash/display/projecting_observer_chromeos.cc
@@ -27,8 +27,7 @@ void ProjectingObserver::OnDisplayModeChanged(
output_count_ = display_states.size();
for (size_t i = 0; i < display_states.size(); ++i) {
- if (display_states[i].display->type() ==
- ui::DISPLAY_CONNECTION_TYPE_INTERNAL) {
+ if (display_states[i]->type() == ui::DISPLAY_CONNECTION_TYPE_INTERNAL) {
has_internal_output_ = true;
break;
}
« no previous file with comments | « ash/display/display_change_observer_chromeos_unittest.cc ('k') | ash/display/projecting_observer_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698