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

Unified Diff: ash/system/chromeos/tray_display.cc

Issue 12217120: Add IsInternal property to gfx::Display (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Get rid of static initializer Created 7 years, 10 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
« no previous file with comments | « ash/display/event_transformation_handler.cc ('k') | ash/test/ash_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/tray_display.cc
diff --git a/ash/system/chromeos/tray_display.cc b/ash/system/chromeos/tray_display.cc
index dd75fedbba3764f394ecdd63b93619f5f53af5a2..dbed1e710b131181ba0805d6c5c7b7ca227d3746 100644
--- a/ash/system/chromeos/tray_display.cc
+++ b/ash/system/chromeos/tray_display.cc
@@ -86,7 +86,7 @@ class DisplayView : public ash::internal::ActionableView {
string16 GetExternalDisplayName() {
#if defined(USE_X11)
DisplayManager* display_manager = Shell::GetInstance()->display_manager();
- int64 internal_display_id = display_manager->internal_display_id();
+ int64 internal_display_id = gfx::Display::InternalDisplayId();
int64 primary_display_id =
gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().id();
« no previous file with comments | « ash/display/event_transformation_handler.cc ('k') | ash/test/ash_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698