Index: chrome/browser/android/compositor/compositor_view.cc |
diff --git a/chrome/browser/android/compositor/compositor_view.cc b/chrome/browser/android/compositor/compositor_view.cc |
index 2f94e8386e755c4d17e5ed4d40193bae5053c27d..69580802f389cc954c9c8ee991c79ef5aca21126 100644 |
--- a/chrome/browser/android/compositor/compositor_view.cc |
+++ b/chrome/browser/android/compositor/compositor_view.cc |
@@ -88,7 +88,6 @@ CompositorView::CompositorView(JNIEnv* env, |
current_surface_format_(0), |
content_width_(0), |
content_height_(0), |
- overdraw_bottom_height_(0), |
overlay_video_mode_(false), |
empty_background_color_(empty_background_color), |
weak_factory_(this) { |
@@ -187,9 +186,7 @@ void CompositorView::SetLayoutViewport(JNIEnv* env, |
jfloat height, |
jfloat visible_x_offset, |
jfloat visible_y_offset, |
- jfloat overdraw_bottom_height, |
jfloat dp_to_pixel) { |
- overdraw_bottom_height_ = overdraw_bottom_height; |
compositor_->setDeviceScaleFactor(dp_to_pixel); |
root_layer_->SetBounds(gfx::Size(content_width_, content_height_)); |
} |
@@ -245,10 +242,6 @@ void CompositorView::SetSceneLayer(JNIEnv* env, |
} |
} |
-int CompositorView::GetUsableContentHeight() { |
- return std::max(content_height_ - overdraw_bottom_height_, 0); |
-} |
- |
void CompositorView::UpdateToolbarLayer(JNIEnv* env, |
const JavaParamRef<jobject>& object, |
jint toolbar_resource_id, |