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

Unified Diff: cc/layers/layer_impl.h

Issue 1168903003: cc: Fix size_t to int truncations in tiles/ and trees/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index 980390224342fbe7b1dc03de3aa5a53ff557f4ff..7086841fcbb73529a8d46d1250a3d99623831dd0 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -807,7 +807,7 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
// The number of direct children or dependent layers that need to be recursed
// to in order for them or a descendent of them to push properties to the
// active side.
- int num_dependents_need_push_properties_;
+ size_t num_dependents_need_push_properties_;
// Layers that share a sorting context id will be sorted together in 3d
// space. 0 is a special value that means this layer will not be sorted and

Powered by Google App Engine
This is Rietveld 408576698