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

Unified Diff: cc/debug/rasterize_and_record_benchmark_impl.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/rasterize_and_record_benchmark_impl.cc
diff --git a/cc/debug/rasterize_and_record_benchmark_impl.cc b/cc/debug/rasterize_and_record_benchmark_impl.cc
index d0f6192bc85d025123c420eca52b2df21b7c2382..91c92b96059548cf81c4681970c96864c5bfda96 100644
--- a/cc/debug/rasterize_and_record_benchmark_impl.cc
+++ b/cc/debug/rasterize_and_record_benchmark_impl.cc
@@ -57,9 +57,9 @@ class BenchmarkRasterTask : public Task {
PicturePileImpl::Analysis analysis;
picture_pile_->AnalyzeInRect(
- content_rect_, contents_scale_, &analysis, NULL);
+ content_rect_, contents_scale_, &analysis, nullptr);
picture_pile_->RasterToBitmap(
- &canvas, content_rect_, contents_scale_, NULL);
+ &canvas, content_rect_, contents_scale_, nullptr);
is_solid_color_ = analysis.is_solid_color;
@@ -154,7 +154,7 @@ RasterizeAndRecordBenchmarkImpl::RasterizeAndRecordBenchmarkImpl(
const MicroBenchmarkImpl::DoneCallback& callback)
: MicroBenchmarkImpl(callback, origin_loop),
rasterize_repeat_count_(kDefaultRasterizeRepeatCount) {
- base::DictionaryValue* settings = NULL;
+ base::DictionaryValue* settings = nullptr;
value->GetAsDictionary(&settings);
if (!settings)
return;

Powered by Google App Engine
This is Rietveld 408576698