| Index: ui/ozone/platform/drm/gpu/drm_thread_proxy.cc
|
| diff --git a/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc b/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc
|
| index b46e11624ab33268f802299a1f8e5a4ca4986a18..8ae223c004a5ceae704ed8358bfdfef9f257424b 100644
|
| --- a/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc
|
| +++ b/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc
|
| @@ -39,4 +39,13 @@ scoped_refptr<GbmBuffer> DrmThreadProxy::CreateBuffer(
|
| return buffer;
|
| }
|
|
|
| +void DrmThreadProxy::GetScanoutFormats(
|
| + gfx::AcceleratedWidget widget,
|
| + std::vector<gfx::BufferFormat>* scanout_formats) {
|
| + PostSyncTask(
|
| + drm_thread_.task_runner(),
|
| + base::Bind(&DrmThread::GetScanoutFormats, base::Unretained(&drm_thread_),
|
| + widget, scanout_formats));
|
| +}
|
| +
|
| } // namespace ui
|
|
|