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 282471fdc7bcdc85a1506fe4f55bed5fc595c331..33e90783e3fd448e48e2a8230d0c9adc47f0d662 100644 |
| --- a/cc/trees/layer_tree_host_impl.cc |
| +++ b/cc/trees/layer_tree_host_impl.cc |
| @@ -1291,13 +1291,6 @@ gfx::SizeF LayerTreeHostImpl::VisibleViewportSize() const { |
| gfx::SizeF dip_size = |
| gfx::ScaleSize(device_viewport_size(), 1.f / device_scale_factor()); |
| - // The clip layer should be used if non-overlay scrollbars may exist since |
| - // it adjusts for them. |
| - LayerImpl* clip_layer = active_tree_->RootClipLayer(); |
| - if (!Settings().solid_color_scrollbars && clip_layer && |
|
enne (OOO)
2013/07/12 17:19:27
I didn't even know this code existed, but I am hap
|
| - clip_layer->masks_to_bounds()) |
| - dip_size = clip_layer->bounds(); |
| - |
| float top_offset = |
| top_controls_manager_ ? top_controls_manager_->content_top_offset() : 0.f; |
| return gfx::SizeF(dip_size.width(), |