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

Unified Diff: cc/resources/texture_mailbox.cc

Issue 638353002: [C++11 Allowed Features] Declares a type-safe null pointer converting from NULL to nullptr in src/… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formating. 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: cc/resources/texture_mailbox.cc
diff --git a/cc/resources/texture_mailbox.cc b/cc/resources/texture_mailbox.cc
index 90ce6be79c79272508dcba015fd9549c0f11b961..838e8fbd6ad5fad579a774f5078876c754fe0fd3 100644
--- a/cc/resources/texture_mailbox.cc
+++ b/cc/resources/texture_mailbox.cc
@@ -10,19 +10,22 @@
namespace cc {
-TextureMailbox::TextureMailbox() : shared_memory_(NULL) {}
+TextureMailbox::TextureMailbox() : shared_memory_(nullptr) {
+}
TextureMailbox::TextureMailbox(const gpu::MailboxHolder& mailbox_holder)
: mailbox_holder_(mailbox_holder),
- shared_memory_(NULL),
- allow_overlay_(false) {}
+ shared_memory_(nullptr),
+ allow_overlay_(false) {
+}
TextureMailbox::TextureMailbox(const gpu::Mailbox& mailbox,
uint32 target,
uint32 sync_point)
: mailbox_holder_(mailbox, target, sync_point),
- shared_memory_(NULL),
- allow_overlay_(false) {}
+ shared_memory_(nullptr),
+ allow_overlay_(false) {
+}
TextureMailbox::TextureMailbox(base::SharedMemory* shared_memory,
const gfx::Size& size)

Powered by Google App Engine
This is Rietveld 408576698