| Index: ui/android/delegated_frame_host_android.cc
|
| diff --git a/ui/android/delegated_frame_host_android.cc b/ui/android/delegated_frame_host_android.cc
|
| index 016fcb864a2d3e95f84629dca8d97a789d62f32a..99c279d0091a135a43d15d40bd53d696ebb944e1 100644
|
| --- a/ui/android/delegated_frame_host_android.cc
|
| +++ b/ui/android/delegated_frame_host_android.cc
|
| @@ -241,12 +241,6 @@ void DelegatedFrameHostAndroid::UpdateBackgroundLayer() {
|
| float device_scale_factor = gfx::DeviceDisplayInfo().GetDIPScale();
|
| gfx::Size content_size_in_dip = gfx::ConvertSizeToDIP(
|
| device_scale_factor, current_frame_->surface_size);
|
| - float top_bar_shown = current_frame_->top_controls_height *
|
| - current_frame_->top_controls_shown_ratio;
|
| - float bottom_bar_shown = current_frame_->bottom_controls_height *
|
| - current_frame_->bottom_controls_shown_ratio;
|
| - content_size_in_dip.set_height(
|
| - content_size_in_dip.height() - top_bar_shown - bottom_bar_shown);
|
| background_is_drawable =
|
| content_size_in_dip.width() < container_size_in_dip_.width() ||
|
| content_size_in_dip.height() < container_size_in_dip_.height();
|
|
|