Index: cc/resources/texture_mailbox.h |
diff --git a/cc/resources/texture_mailbox.h b/cc/resources/texture_mailbox.h |
index 4626dd366988b36095b4d9f09394eb2b84748844..0c8e68617ad197f5657bf2dad4fc8163ce13dcb1 100644 |
--- a/cc/resources/texture_mailbox.h |
+++ b/cc/resources/texture_mailbox.h |
@@ -28,7 +28,7 @@ class CC_EXPORT TextureMailbox { |
bool IsValid() const { return IsTexture() || IsSharedMemory(); } |
bool IsTexture() const { return !mailbox_holder_.mailbox.IsZero(); } |
- bool IsSharedMemory() const { return shared_memory_ != NULL; } |
+ bool IsSharedMemory() const { return shared_memory_ != nullptr; } |
bool Equals(const TextureMailbox&) const; |