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

Unified Diff: content/common/gpu/gpu_memory_buffer_factory_mac.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/gpu_memory_buffer_factory_mac.cc
diff --git a/content/common/gpu/gpu_memory_buffer_factory_mac.cc b/content/common/gpu/gpu_memory_buffer_factory_mac.cc
index 3a260582f9b74238e685039992afc2389f27b2fe..a84b52625539810e75cbcd662d8ce448edff87dd 100644
--- a/content/common/gpu/gpu_memory_buffer_factory_mac.cc
+++ b/content/common/gpu/gpu_memory_buffer_factory_mac.cc
@@ -50,7 +50,7 @@ class GpuMemoryBufferFactoryImpl : public GpuMemoryBufferFactory {
scoped_refptr<gfx::GLImageSharedMemory> image(
new gfx::GLImageSharedMemory(size, internalformat));
if (!image->Initialize(handle))
- return NULL;
+ return nullptr;
return image;
}
« no previous file with comments | « content/common/gpu/gpu_memory_buffer_factory_io_surface.cc ('k') | content/common/gpu/gpu_memory_buffer_factory_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698