Chromium Code Reviews| Index: cc/trees/layer_tree_host_impl.cc |
| diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
| index fbe68d261bc35b36334a92b09436e9683b9ea6e4..9ea5afb7dd507c722ed9da8f89fb461461b1e962 100644 |
| --- a/cc/trees/layer_tree_host_impl.cc |
| +++ b/cc/trees/layer_tree_host_impl.cc |
| @@ -3741,8 +3741,6 @@ std::string LayerTreeHostImpl::LayerTreeAsJson() const { |
| void LayerTreeHostImpl::RegisterScrollbarAnimationController( |
| ElementId scroll_element_id, |
| float scrollbar_opacity) { |
| - if (settings().scrollbar_animator == LayerTreeSettings::NO_ANIMATOR) |
|
aelias_OOO_until_Jul13
2017/06/02 22:02:23
Why is this removed?
chaopeng
2017/06/05 14:52:40
Moved to LayerTreeImpl::RegisterScrollbar.
|
| - return; |
| if (ScrollbarAnimationControllerForElementId(scroll_element_id)) |
| return; |