Index: cc/layers/layer.cc |
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc |
index 2430f9ca74906d6c7b9eb46a3441a561bfb318b1..8aef643f116a2f9daf628d5264928e4d36d35303 100644 |
--- a/cc/layers/layer.cc |
+++ b/cc/layers/layer.cc |
@@ -373,7 +373,7 @@ void Layer::SetBounds(const gfx::Size& size) { |
} |
} |
ajuma
2016/02/09 16:27:12
The block above should be removed too (no need to
|
- SetNeedsCommitNoRebuild(); |
+ SetNeedsCommit(); |
} |
Layer* Layer::RootLayer() { |
@@ -942,6 +942,10 @@ void Layer::SetScrollClipLayerId(int clip_layer_id) { |
SetNeedsCommit(); |
} |
+Layer* Layer::scroll_clip_layer() const { |
+ return layer_tree_host()->LayerById(scroll_clip_layer_id_); |
+} |
+ |
void Layer::SetUserScrollable(bool horizontal, bool vertical) { |
DCHECK(IsPropertyChangeAllowed()); |
if (user_scrollable_horizontal_ == horizontal && |