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

Unified Diff: cc/test/tiled_layer_test_common.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 | « cc/resources/memory_history.cc ('k') | cc/tiles/picture_layer_tiling.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/tiled_layer_test_common.cc
diff --git a/cc/test/tiled_layer_test_common.cc b/cc/test/tiled_layer_test_common.cc
index ea45f48a154aa1d1714b6717ab20f70da86774b2..a396ff948c240fb3b681bdbf0bbae90015f02827 100644
--- a/cc/test/tiled_layer_test_common.cc
+++ b/cc/test/tiled_layer_test_common.cc
@@ -127,7 +127,7 @@ void FakeTiledLayer::UpdateContentsScale(float ideal_contents_scale) {
}
void FakeTiledLayer::ResetNumDependentsNeedPushProperties() {
- size_t num = 0;
+ int num = 0;
if (mask_layer()) {
if (mask_layer()->needs_push_properties() ||
mask_layer()->descendant_needs_push_properties())
« no previous file with comments | « cc/resources/memory_history.cc ('k') | cc/tiles/picture_layer_tiling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698