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

Unified Diff: ui/ozone/platform/dri/test/mock_dri_wrapper.cc

Issue 471433007: [Ozone-Dri] Adding initial content protection support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cast Created 6 years, 4 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/dri/test/mock_dri_wrapper.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/test/mock_dri_wrapper.cc
diff --git a/ui/ozone/platform/dri/test/mock_dri_wrapper.cc b/ui/ozone/platform/dri/test/mock_dri_wrapper.cc
index 89c8aa8c946e97b624d74ab2ca689bfb998296c1..1ac521563ed8a0409cf7c1cf97720106987b8bd0 100644
--- a/ui/ozone/platform/dri/test/mock_dri_wrapper.cc
+++ b/ui/ozone/platform/dri/test/mock_dri_wrapper.cc
@@ -61,6 +61,10 @@ bool MockDriWrapper::SetCrtc(drmModeCrtc* crtc,
return true;
}
+ScopedDrmConnectorPtr MockDriWrapper::GetConnector(uint32_t connector_id) {
+ return ScopedDrmConnectorPtr(DrmAllocator<drmModeConnector>());
+}
+
bool MockDriWrapper::AddFramebuffer(uint32_t width,
uint32_t height,
uint8_t depth,
« no previous file with comments | « ui/ozone/platform/dri/test/mock_dri_wrapper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698