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

Unified Diff: cc/layers/render_surface.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/render_surface.cc
diff --git a/cc/layers/render_surface.cc b/cc/layers/render_surface.cc
index 15e11875ea2b433478642520037b7ed854d5031c..35dde1008364416cc43956908963b0b13f4daa17 100644
--- a/cc/layers/render_surface.cc
+++ b/cc/layers/render_surface.cc
@@ -18,7 +18,8 @@ RenderSurface::RenderSurface(Layer* owning_layer)
screen_space_transforms_are_animating_(false),
is_clipped_(false),
contributes_to_drawn_surface_(false),
- nearest_occlusion_immune_ancestor_(NULL) {}
+ nearest_occlusion_immune_ancestor_(nullptr) {
+}
RenderSurface::~RenderSurface() {
for (size_t i = 0; i < layer_list_.size(); ++i) {

Powered by Google App Engine
This is Rietveld 408576698