Index: content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc |
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc b/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc |
index b4ee12872460a79e1487500898dd43bd6ffedae4..900ed2cbfdb775f22ad426342e82fcd6315b8393 100644 |
--- a/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc |
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc |
@@ -118,7 +118,7 @@ bool GpuMemoryBufferImplSharedMemory::IsConfigurationSupported( |
void* GpuMemoryBufferImplSharedMemory::Map() { |
DCHECK(!mapped_); |
if (!shared_memory_->Map(size_.GetArea() * BytesPerPixel(internalformat_))) |
- return NULL; |
+ return nullptr; |
mapped_ = true; |
return shared_memory_->memory(); |
} |