Index: ash/display/display_controller.cc |
diff --git a/ash/display/display_controller.cc b/ash/display/display_controller.cc |
index c85aab408c586b095dc57ba5407ee900b9d0f2b4..9dc2fec5200913161346d4df1fd331298f486f83 100644 |
--- a/ash/display/display_controller.cc |
+++ b/ash/display/display_controller.cc |
@@ -301,7 +301,7 @@ void DisplayController::InitPrimaryDisplay() { |
int y = primary_candidate->bounds_in_pixel().y(); |
for (int i = 1; i < count; ++i) { |
const gfx::Display* display = display_manager->GetDisplayAt(i); |
- if (display_manager->IsInternalDisplayId(display->id())) { |
+ if (display->is_internal()) { |
primary_candidate = display; |
break; |
} else if (display->bounds_in_pixel().y() < y) { |