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

Unified Diff: cc/layers/delegated_frame_resource_collection.cc

Issue 643583003: [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: foramted. 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/layers/delegated_frame_resource_collection.cc
diff --git a/cc/layers/delegated_frame_resource_collection.cc b/cc/layers/delegated_frame_resource_collection.cc
index b0e4cbf72964f6993251828a8ffd95a7900a7c30..a1bc759a0330eb531601eb19ddab2a0d09c72fd7 100644
--- a/cc/layers/delegated_frame_resource_collection.cc
+++ b/cc/layers/delegated_frame_resource_collection.cc
@@ -10,9 +10,7 @@
namespace cc {
DelegatedFrameResourceCollection::DelegatedFrameResourceCollection()
- : client_(NULL),
- lost_all_resources_(false),
- weak_ptr_factory_(this) {
+ : client_(nullptr), lost_all_resources_(false), weak_ptr_factory_(this) {
DCHECK(main_thread_checker_.CalledOnValidThread());
}

Powered by Google App Engine
This is Rietveld 408576698