Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Unified Diff: content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc

Issue 649533003: C++11 declares a type safe null pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Presubmit errors Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc b/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc
index f59cb08bdb83b2e15b7e4013af40e90ef517ec15..f0afef5d371a217946a26cdf12a307b509213b5b 100644
--- a/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc
@@ -132,7 +132,7 @@ bool GpuMemoryBufferImplOzoneNativeBuffer::IsConfigurationSupported(
void* GpuMemoryBufferImplOzoneNativeBuffer::Map() {
NOTREACHED();
- return NULL;
+ return nullptr;
}
void GpuMemoryBufferImplOzoneNativeBuffer::Unmap() {

Powered by Google App Engine
This is Rietveld 408576698