summaryrefslogtreecommitdiffstats
path: root/ash/test/display_manager_test_api.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/test/display_manager_test_api.cc')
-rw-r--r--ash/test/display_manager_test_api.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/test/display_manager_test_api.cc b/ash/test/display_manager_test_api.cc
index f4e2930..f057765 100644
--- a/ash/test/display_manager_test_api.cc
+++ b/ash/test/display_manager_test_api.cc
@@ -85,7 +85,7 @@ int64 DisplayManagerTestApi::SetFirstDisplayAsInternalDisplay() {
const gfx::Display& internal = display_manager_->displays_[0];
gfx::Display::SetInternalDisplayId(internal.id());
display_manager_->internal_display_info_.reset(new DisplayInfo(
- display_manager_->GetDisplayInfo(internal)));
+ display_manager_->GetDisplayInfo(internal.id())));
return gfx::Display::InternalDisplayId();
}