Index: ash/display/display_controller.cc |
diff --git a/ash/display/display_controller.cc b/ash/display/display_controller.cc |
index c85aab408c586b095dc57ba5407ee900b9d0f2b4..5bdca9b2c618d3ed634e39e0b85d9a6fab5e01a8 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->IsInternal()) { |
primary_candidate = display; |
break; |
} else if (display->bounds_in_pixel().y() < y) { |