Index: ui/display/chromeos/x11/native_display_delegate_x11.cc |
diff --git a/ui/display/chromeos/x11/native_display_delegate_x11.cc b/ui/display/chromeos/x11/native_display_delegate_x11.cc |
index f0d7f01f3de586559576e33f2a390b3e3ae6d908..ac29bcdc8186f5d26109f67eb61ab74d4f053605 100644 |
--- a/ui/display/chromeos/x11/native_display_delegate_x11.cc |
+++ b/ui/display/chromeos/x11/native_display_delegate_x11.cc |
@@ -169,6 +169,11 @@ void NativeDisplayDelegateX11::ForceDPMSOn() { |
CHECK(DPMSForceLevel(display_, DPMSModeOn)); |
} |
+void NativeDisplayDelegateX11::GetCachedDisplays( |
+ const GetDisplaysCallback& callback) { |
+ callback.Run(cached_outputs_.get()); |
+} |
+ |
void NativeDisplayDelegateX11::GetDisplays( |
const GetDisplaysCallback& callback) { |
CHECK(screen_) << "Server not grabbed"; |