Chromium Code Reviews| Index: cc/layers/layer.cc |
| diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc |
| index 1abdaebf90676feafe9cbd9c35e7bb2ff0ff947d..517a1c6a634511b8774f01d285dcac06f1038d5d 100644 |
| --- a/cc/layers/layer.cc |
| +++ b/cc/layers/layer.cc |
| @@ -1113,6 +1113,10 @@ static void PostCopyCallbackToMainThread( |
| base::Passed(&result))); |
| } |
| +bool Layer::IsSnapped() { |
| + return scrollable(); |
| +} |
| + |
| void Layer::PushPropertiesTo(LayerImpl* layer) { |
| TRACE_EVENT0("cc", "Layer::PushPropertiesTo"); |
| DCHECK(layer_tree_host_); |