Chromium Code Reviews| 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 a6e9ca9e3a2b2bfee7ebe768e3cd7dbea6677020..323eb77a3d4b3eb763c58696d8aa0a9f50383c2c 100644 |
| --- a/chrome/browser/android/compositor/compositor_view.cc |
| +++ b/chrome/browser/android/compositor/compositor_view.cc |
| @@ -162,16 +162,9 @@ void CompositorView::SurfaceChanged(JNIEnv* env, |
| root_layer_->SetBounds(gfx::Size(content_width_, content_height_)); |
| } |
| -void CompositorView::SetLayoutViewport(JNIEnv* env, |
| - const JavaParamRef<jobject>& object, |
| - jfloat x, |
| - jfloat y, |
| - jfloat width, |
| - jfloat height, |
| - jfloat visible_x_offset, |
| - jfloat visible_y_offset, |
| - jfloat dp_to_pixel) { |
| - compositor_->setDeviceScaleFactor(dp_to_pixel); |
| +void CompositorView::SetLayoutBounds(JNIEnv* env, |
| + const JavaParamRef<jobject>& object) { |
| + compositor_->setDeviceScaleFactor(1.0f); |
|
aelias_OOO_until_Jul13
2016/11/09 00:20:20
Delete this line since it no longer belongs here,
mdjones
2016/11/09 01:36:32
Done.
|
| root_layer_->SetBounds(gfx::Size(content_width_, content_height_)); |
| } |