| Index: ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc
|
| diff --git a/ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc b/ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc
|
| index 3e293e9a996b88a154ce69c8627166091fc038fc..6953185479a1d20c508ca3641a409581837352ef 100644
|
| --- a/ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc
|
| +++ b/ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc
|
| @@ -74,7 +74,7 @@ bool GpuMemoryBufferFactoryOzoneNativeBuffer::CreateGpuMemoryBuffer(
|
| scoped_refptr<NativePixmap> pixmap =
|
| SurfaceFactoryOzone::GetInstance()->CreateNativePixmap(
|
| size, GetOzoneFormatFor(internalformat));
|
| - if (!pixmap) {
|
| + if (!pixmap.get()) {
|
| LOG(ERROR) << "Failed to create pixmap " << size.width() << "x"
|
| << size.height() << " format " << internalformat << ", usage "
|
| << usage;
|
|
|