Index: cc/layers/draw_properties.h |
diff --git a/cc/layers/draw_properties.h b/cc/layers/draw_properties.h |
index 8241aa7384a9bc76c6d8fb99036df7b525fdca87..375d011f1cd9084172fc72c97553d52a86b1ce51 100644 |
--- a/cc/layers/draw_properties.h |
+++ b/cc/layers/draw_properties.h |
@@ -25,6 +25,7 @@ |
target_space_transform_is_animating(false), |
screen_space_transform_is_animating(false), |
can_use_lcd_text(false), |
+ is_clipped(false), |
render_target(nullptr), |
num_unclipped_descendants(0), |
layer_or_descendant_has_copy_request(false), |
@@ -69,6 +70,9 @@ |
// True if the layer can use LCD text. |
bool can_use_lcd_text; |
+ |
+ // True if the layer needs to be clipped by clip_rect. |
+ bool is_clipped; |
// The layer whose coordinate space this layer draws into. This can be |
// either the same layer (draw_properties_.render_target == this) or an |