| Index: ui/ozone/platform/drm/gpu/drm_buffer.cc
|
| diff --git a/ui/ozone/platform/drm/gpu/drm_buffer.cc b/ui/ozone/platform/drm/gpu/drm_buffer.cc
|
| index 3acbe62c93e76eebf296c0188185d3a2c1dad08b..17bc5d3bca72038c4ae04e114fc6150939e9e2cd 100644
|
| --- a/ui/ozone/platform/drm/gpu/drm_buffer.cc
|
| +++ b/ui/ozone/platform/drm/gpu/drm_buffer.cc
|
| @@ -71,7 +71,8 @@ bool DrmBuffer::Initialize(const SkImageInfo& info,
|
| uint32_t offsets[4] = {0};
|
| fb_pixel_format_ = GetFourCCCodeForSkColorType(info.colorType());
|
| if (!drm_->AddFramebuffer2(info.width(), info.height(), fb_pixel_format_,
|
| - handles, strides, offsets, &framebuffer_, 0)) {
|
| + handles, strides, offsets, nullptr,
|
| + &framebuffer_, 0)) {
|
| PLOG(ERROR) << "DrmBuffer: AddFramebuffer2: handle " << handle_;
|
| return false;
|
| }
|
|
|