Index: ui/ozone/platform/drm/gpu/scoped_drm_types.cc |
diff --git a/ui/ozone/platform/drm/gpu/scoped_drm_types.cc b/ui/ozone/platform/drm/gpu/scoped_drm_types.cc |
index 15197295d963381792ec8f6e98058396151723cb..9d26b7d60aabeaf3139df8334c0c40661fd5b27a 100644 |
--- a/ui/ozone/platform/drm/gpu/scoped_drm_types.cc |
+++ b/ui/ozone/platform/drm/gpu/scoped_drm_types.cc |
@@ -41,6 +41,12 @@ void DrmPropertyDeleter::operator()(drmModePropertyRes* property) const { |
drmModeFreeProperty(property); |
} |
+#if defined(USE_DRM_ATOMIC) |
+void DrmPropertySetDeleter::operator()(drmModePropertySet* property) const { |
+ drmModePropertySetFree(property); |
+} |
+#endif // defined(USE_DRM_ATOMIC) |
+ |
void DrmPropertyBlobDeleter::operator()( |
drmModePropertyBlobRes* property) const { |
drmModeFreePropertyBlob(property); |