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

Unified Diff: cc/debug/invalidation_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/invalidation_benchmark.cc
diff --git a/cc/debug/invalidation_benchmark.cc b/cc/debug/invalidation_benchmark.cc
index f063fe71d748363020f02410015d2c52206aeee1..87d2edd871734cfb7b27428224b2b0eb107ee693 100644
--- a/cc/debug/invalidation_benchmark.cc
+++ b/cc/debug/invalidation_benchmark.cc
@@ -28,7 +28,7 @@ InvalidationBenchmark::InvalidationBenchmark(
scoped_ptr<base::Value> value,
const MicroBenchmark::DoneCallback& callback)
: MicroBenchmark(callback), seed_(0) {
- base::DictionaryValue* settings = NULL;
+ base::DictionaryValue* settings = nullptr;
value->GetAsDictionary(&settings);
if (!settings)
return;
@@ -111,7 +111,7 @@ void InvalidationBenchmark::RunOnLayer(PictureLayer* layer) {
}
bool InvalidationBenchmark::ProcessMessage(scoped_ptr<base::Value> value) {
- base::DictionaryValue* message = NULL;
+ base::DictionaryValue* message = nullptr;
value->GetAsDictionary(&message);
if (!message)
return false;
« no previous file with comments | « cc/blink/web_layer_impl.cc ('k') | cc/debug/micro_benchmark.cc » ('j') | cc/layers/layer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698