| Index: ash/display/projecting_observer_chromeos.cc
|
| diff --git a/ash/display/projecting_observer_chromeos.cc b/ash/display/projecting_observer_chromeos.cc
|
| index 716ea91f9582d712f6f64485df1c57bf9ecb4979..7fde8485d421ab24ec766397b9fdfa4f90445a6b 100644
|
| --- a/ash/display/projecting_observer_chromeos.cc
|
| +++ b/ash/display/projecting_observer_chromeos.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "chromeos/dbus/dbus_thread_manager.h"
|
| #include "chromeos/dbus/power_manager_client.h"
|
| +#include "ui/display/chromeos/display_snapshot.h"
|
|
|
| namespace ash {
|
|
|
| @@ -18,13 +19,13 @@ ProjectingObserver::ProjectingObserver()
|
|
|
| ProjectingObserver::~ProjectingObserver() {}
|
|
|
| -void ProjectingObserver::OnDisplayModeChanged(
|
| - const std::vector<chromeos::OutputConfigurator::OutputSnapshot>& outputs) {
|
| +void ProjectingObserver::OnDisplayModeChanged(const std::vector<
|
| + chromeos::OutputConfigurator::InternalDisplayState>& outputs) {
|
| has_internal_output_ = false;
|
| output_count_ = outputs.size();
|
|
|
| for (size_t i = 0; i < outputs.size(); ++i) {
|
| - if (outputs[i].type == ui::OUTPUT_TYPE_INTERNAL) {
|
| + if (outputs[i].display->type() == ui::OUTPUT_TYPE_INTERNAL) {
|
| has_internal_output_ = true;
|
| break;
|
| }
|
|
|