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

Unified Diff: ui/ozone/platform/drm/gpu/mock_scanout_buffer.cc

Issue 1780013002: Fix black screen when switching primary display without bounds change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build failure in MockScanoutBuffer (again! sorry) Created 4 years, 7 months 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
« no previous file with comments | « ui/ozone/platform/drm/gpu/mock_scanout_buffer.h ('k') | ui/ozone/platform/drm/gpu/scanout_buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/mock_scanout_buffer.cc
diff --git a/ui/ozone/platform/drm/gpu/mock_scanout_buffer.cc b/ui/ozone/platform/drm/gpu/mock_scanout_buffer.cc
index 60fbf5df3decb2401951385308952e844e177e73..d372f8e9654eb2fa339168e0c34967c35813a97d 100644
--- a/ui/ozone/platform/drm/gpu/mock_scanout_buffer.cc
+++ b/ui/ozone/platform/drm/gpu/mock_scanout_buffer.cc
@@ -27,6 +27,10 @@ uint32_t MockScanoutBuffer::GetFramebufferPixelFormat() const {
return format_;
}
+const DrmDevice* MockScanoutBuffer::GetDrmDevice() const {
+ return nullptr;
+}
+
bool MockScanoutBuffer::RequiresGlFinish() const {
return false;
}
« no previous file with comments | « ui/ozone/platform/drm/gpu/mock_scanout_buffer.h ('k') | ui/ozone/platform/drm/gpu/scanout_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698