| Index: content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc
|
| diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc b/content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc
|
| index 52e0362913300b61ee5545f032cd84e3ff5ba9e5..0d08c552f4ffbe9c4d38322cc305cebf65810077 100644
|
| --- a/content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc
|
| +++ b/content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc
|
| @@ -163,10 +163,10 @@ void* GpuMemoryBufferImplSurfaceTexture::Map() {
|
| DCHECK(!mapped_);
|
| DCHECK(native_window_);
|
| ANativeWindow_Buffer buffer;
|
| - int status = ANativeWindow_lock(native_window_, &buffer, NULL);
|
| + int status = ANativeWindow_lock(native_window_, &buffer, nullptr);
|
| if (status) {
|
| VLOG(1) << "ANativeWindow_lock failed with error code: " << status;
|
| - return NULL;
|
| + return nullptr;
|
| }
|
|
|
| DCHECK_LE(size_.width(), buffer.stride);
|
|
|