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

Unified Diff: cc/debug/picture_record_benchmark.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/debug/picture_record_benchmark.cc
diff --git a/cc/debug/picture_record_benchmark.cc b/cc/debug/picture_record_benchmark.cc
index 2bda59d9960b8c939a8e1a7f8a7bf6c1dd2c866b..a8a296dcb6b54b4b5c7dce0d11d4da30b54dd8c3 100644
--- a/cc/debug/picture_record_benchmark.cc
+++ b/cc/debug/picture_record_benchmark.cc
@@ -31,13 +31,13 @@ PictureRecordBenchmark::PictureRecordBenchmark(
if (!value)
return;
- base::ListValue* list = NULL;
+ base::ListValue* list = nullptr;
value->GetAsList(&list);
if (!list)
return;
for (base::ListValue::iterator it = list->begin(); it != list->end(); ++it) {
- base::DictionaryValue* dictionary = NULL;
+ base::DictionaryValue* dictionary = nullptr;
(*it)->GetAsDictionary(&dictionary);
if (!dictionary ||
!dictionary->HasKey("width") ||

Powered by Google App Engine
This is Rietveld 408576698