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

Unified Diff: ui/ozone/platform/dri/native_display_delegate_dri.cc

Issue 796263002: Remove synchronous GetDisplays() and Configure() from NativeDisplayDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@async-refactor5
Patch Set: Removed deprecated calls from TestNativeDisplayDelegate and update the ExternalControl test Created 6 years 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
Index: ui/ozone/platform/dri/native_display_delegate_dri.cc
diff --git a/ui/ozone/platform/dri/native_display_delegate_dri.cc b/ui/ozone/platform/dri/native_display_delegate_dri.cc
index 89d0682a7db473da05194d5dfd69069d83c36669..213bd785fdd9919fe7f730ddc66fac3bda6e0ae1 100644
--- a/ui/ozone/platform/dri/native_display_delegate_dri.cc
+++ b/ui/ozone/platform/dri/native_display_delegate_dri.cc
@@ -164,7 +164,7 @@ std::vector<DisplaySnapshot*> NativeDisplayDelegateDri::GetDisplays() {
void NativeDisplayDelegateDri::GetDisplays(
const GetDisplaysCallback& callback) {
- callback.Run(GetDisplays());
+ NOTREACHED();
}
void NativeDisplayDelegateDri::AddMode(const DisplaySnapshot& output,
@@ -204,7 +204,7 @@ void NativeDisplayDelegateDri::Configure(const DisplaySnapshot& output,
const DisplayMode* mode,
const gfx::Point& origin,
const ConfigureCallback& callback) {
- callback.Run(Configure(output, mode, origin));
+ NOTREACHED();
}
void NativeDisplayDelegateDri::CreateFrameBuffer(const gfx::Size& size) {
« no previous file with comments | « ui/ozone/platform/dri/native_display_delegate_dri.h ('k') | ui/ozone/platform/dri/native_display_delegate_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698