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 05affee8f31d58da72b20647ce06fc1736726711..adabd135165f03e57ff65f214d03572c2cc24b2f 100644 |
--- a/cc/trees/layer_tree_host_common.h |
+++ b/cc/trees/layer_tree_host_common.h |
@@ -39,6 +39,7 @@ class CC_EXPORT LayerTreeHostCommon { |
LayerType* page_scale_application_layer, |
int max_texture_size, |
bool can_use_lcd_text, |
+ bool can_render_to_separate_surface, |
bool can_adjust_raster_scales, |
RenderSurfaceLayerListType* render_surface_layer_list) |
: root_layer(root_layer), |
@@ -49,6 +50,7 @@ class CC_EXPORT LayerTreeHostCommon { |
page_scale_application_layer(page_scale_application_layer), |
max_texture_size(max_texture_size), |
can_use_lcd_text(can_use_lcd_text), |
+ can_render_to_separate_surface(can_render_to_separate_surface), |
can_adjust_raster_scales(can_adjust_raster_scales), |
render_surface_layer_list(render_surface_layer_list) {} |
@@ -60,6 +62,7 @@ class CC_EXPORT LayerTreeHostCommon { |
LayerType* page_scale_application_layer; |
int max_texture_size; |
bool can_use_lcd_text; |
+ bool can_render_to_separate_surface; |
bool can_adjust_raster_scales; |
RenderSurfaceLayerListType* render_surface_layer_list; |
}; |
@@ -220,6 +223,7 @@ LayerTreeHostCommon::CalcDrawPropsInputsForTesting<LayerType, |
NULL, |
std::numeric_limits<int>::max() / 2, |
false, |
+ true, |
false, |
render_surface_layer_list) { |
DCHECK(root_layer); |
@@ -242,6 +246,7 @@ LayerTreeHostCommon::CalcDrawPropsInputsForTesting<LayerType, |
NULL, |
std::numeric_limits<int>::max() / 2, |
false, |
+ true, |
false, |
render_surface_layer_list) { |
DCHECK(root_layer); |