Index: ash/system/chromeos/tray_display.cc |
diff --git a/ash/system/chromeos/tray_display.cc b/ash/system/chromeos/tray_display.cc |
index 19ca0fcda079048e31e6808e9b16e5f79b3de734..a7f73c100833c7715c3c388487be76d3fd04ed1e 100644 |
--- a/ash/system/chromeos/tray_display.cc |
+++ b/ash/system/chromeos/tray_display.cc |
@@ -183,10 +183,12 @@ void TrayDisplay::OnDisplayRemoved(const gfx::Display& old_display) { |
default_->Update(); |
} |
+#if defined(OS_CHROMEOS) |
void TrayDisplay::OnDisplayModeChanged() { |
if (default_) |
default_->Update(); |
} |
+#endif |
} // namespace internal |
} // namespace ash |