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

Unified Diff: cc/layers/scrollbar_layer_impl_base.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/scrollbar_layer_impl_base.cc
diff --git a/cc/layers/scrollbar_layer_impl_base.cc b/cc/layers/scrollbar_layer_impl_base.cc
index 204b4914ad9f953e356355e313f106423cd3183d..5e5e279fa254ed1222791095d8506ada832853f8 100644
--- a/cc/layers/scrollbar_layer_impl_base.cc
+++ b/cc/layers/scrollbar_layer_impl_base.cc
@@ -17,8 +17,8 @@ ScrollbarLayerImplBase::ScrollbarLayerImplBase(
bool is_left_side_vertical_scrollbar,
bool is_overlay)
: LayerImpl(tree_impl, id),
- scroll_layer_(NULL),
- clip_layer_(NULL),
+ scroll_layer_(nullptr),
+ clip_layer_(nullptr),
is_overlay_scrollbar_(is_overlay),
thumb_thickness_scale_factor_(1.f),
current_pos_(0.f),
@@ -26,7 +26,8 @@ ScrollbarLayerImplBase::ScrollbarLayerImplBase(
orientation_(orientation),
is_left_side_vertical_scrollbar_(is_left_side_vertical_scrollbar),
vertical_adjust_(0.f),
- visible_to_total_length_ratio_(1.f) {}
+ visible_to_total_length_ratio_(1.f) {
+}
ScrollbarLayerImplBase::~ScrollbarLayerImplBase() {}

Powered by Google App Engine
This is Rietveld 408576698