| Index: ash/display/projecting_observer_chromeos.cc
|
| diff --git a/ash/display/projecting_observer_chromeos.cc b/ash/display/projecting_observer_chromeos.cc
|
| index f56b23cfa43ba6304203546d01c5766b31474c11..8183d0ae4f0f0a3f7864d04a3d22e1fefc9429cd 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 {
|
|
|
| @@ -19,12 +20,12 @@ ProjectingObserver::ProjectingObserver()
|
| ProjectingObserver::~ProjectingObserver() {}
|
|
|
| void ProjectingObserver::OnDisplayModeChanged(
|
| - const std::vector<ui::OutputConfigurator::OutputSnapshot>& outputs) {
|
| + const ui::OutputConfigurator::DisplayStateList& 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;
|
| }
|
|
|