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

Unified Diff: content/common/gpu/gpu_channel.h

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_channel.h
diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
index cfa71d1e2db83781b4b5a7a279f4a847ed59b60a..eb626feae719a37f874e859988cc8390ecda667a 100644
--- a/content/common/gpu/gpu_channel.h
+++ b/content/common/gpu/gpu_channel.h
@@ -132,7 +132,7 @@ class GpuChannel : public IPC::Listener, public IPC::Sender {
uint64 messages_processed() const { return messages_processed_; }
// If |preemption_flag->IsSet()|, any stub on this channel
- // should stop issuing GL commands. Setting this to NULL stops deferral.
+ // should stop issuing GL commands. Setting this to nullptr stops deferral.
void SetPreemptByFlag(
scoped_refptr<gpu::PreemptionFlag> preemption_flag);
@@ -180,7 +180,7 @@ class GpuChannel : public IPC::Listener, public IPC::Sender {
// preempt other GpuChannels.
scoped_refptr<gpu::PreemptionFlag> preempting_flag_;
- // If non-NULL, all stubs on this channel should stop processing GL
+ // If non-nullptr, all stubs on this channel should stop processing GL
// commands (via their GpuScheduler) when preempted_flag_->IsSet()
scoped_refptr<gpu::PreemptionFlag> preempted_flag_;
« no previous file with comments | « content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc ('k') | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698