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

Unified Diff: cc/trees/layer_tree_host_common.h

Issue 548963002: Generalize scroll parent work in CalculateDrawProperties Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 3 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/layer_tree_host_common.h
diff --git a/cc/trees/layer_tree_host_common.h b/cc/trees/layer_tree_host_common.h
index 1f4717257bb4a44fdc1f6b657645a84847fc2912..67d9166db7505bb255e6fc4ca5bd331edae8178d 100644
--- a/cc/trees/layer_tree_host_common.h
+++ b/cc/trees/layer_tree_host_common.h
@@ -43,7 +43,7 @@ class CC_EXPORT LayerTreeHostCommon {
bool can_render_to_separate_surface,
bool can_adjust_raster_scales,
RenderSurfaceLayerListType* render_surface_layer_list,
- int current_render_surface_layer_list_id)
+ size_t current_render_surface_layer_list_id)
: root_layer(root_layer),
device_viewport_size(device_viewport_size),
device_transform(device_transform),
@@ -69,7 +69,7 @@ class CC_EXPORT LayerTreeHostCommon {
bool can_render_to_separate_surface;
bool can_adjust_raster_scales;
RenderSurfaceLayerListType* render_surface_layer_list;
- int current_render_surface_layer_list_id;
+ size_t current_render_surface_layer_list_id;
};
template <typename LayerType, typename RenderSurfaceLayerListType>

Powered by Google App Engine
This is Rietveld 408576698