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

Unified Diff: cc/trees/tree_synchronizer.cc

Issue 640203002: [C++11 Allowed Features] Declares a type-safe null pointer converting from NULL to nullptr [part-… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format 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/trees/tree_synchronizer.cc
diff --git a/cc/trees/tree_synchronizer.cc b/cc/trees/tree_synchronizer.cc
index d17f0175b9d9cbd10491b57ba632814760366246..b11dd4ee5413bb46560168d3db26e6bfb789d7aa 100644
--- a/cc/trees/tree_synchronizer.cc
+++ b/cc/trees/tree_synchronizer.cc
@@ -163,7 +163,7 @@ void UpdateScrollbarLayerPointersRecursiveInternal(
ScrollbarLayerImplBase* scrollbar_layer_impl =
iter != new_layers->end()
? static_cast<ScrollbarLayerImplBase*>(iter->second)
- : NULL;
+ : nullptr;
DCHECK(scrollbar_layer_impl);
scrollbar_layer->PushScrollClipPropertiesTo(scrollbar_layer_impl);

Powered by Google App Engine
This is Rietveld 408576698