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

Unified Diff: cc/test/skia_common.cc

Issue 634243003: [C++11 Allowed Features] Declares a type-safe null pointer converting from NULL to nullptr [part-4] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formating fix. 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/test/skia_common.cc
diff --git a/cc/test/skia_common.cc b/cc/test/skia_common.cc
index d91e707a8e4b80a1137b8f4674ac886659bb3854..42021598da7f568e8be3f46f852c5dde4c280c60 100644
--- a/cc/test/skia_common.cc
+++ b/cc/test/skia_common.cc
@@ -23,7 +23,7 @@ void DrawPicture(unsigned char* buffer,
canvas.clipRect(gfx::RectToSkRect(layer_rect));
// We're drawing the entire canvas, so the negated content region is empty.
gfx::Rect negated_content_region;
- picture->Raster(&canvas, NULL, negated_content_region, 1.0f);
+ picture->Raster(&canvas, nullptr, negated_content_region, 1.0f);
}
void CreateBitmap(const gfx::Size& size, const char* uri, SkBitmap* bitmap) {

Powered by Google App Engine
This is Rietveld 408576698