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

Unified Diff: cc/layers/layer.cc

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
« no previous file with comments | « no previous file | cc/resources/memory_history.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.cc
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
index a848dbbbd615e47c73b5dabf00b4dc93302bf859..706fc0a531fe6703b1bec11c6073eeff6f1a8567 100644
--- a/cc/layers/layer.cc
+++ b/cc/layers/layer.cc
@@ -40,7 +40,7 @@ scoped_refptr<Layer> Layer::Create(const LayerSettings& settings) {
Layer::Layer(const LayerSettings& settings)
: needs_push_properties_(false),
- num_dependents_need_push_properties_(false),
+ num_dependents_need_push_properties_(0),
stacking_order_changed_(false),
// Layer IDs start from 1.
layer_id_(g_next_layer_id.GetNext() + 1),
« no previous file with comments | « no previous file | cc/resources/memory_history.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698