| Index: content/browser/android/content_view_core_impl.cc
|
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
|
| index 2335d0a5fb05b9ca4df9420b4bb70bf60b3a5609..aed766bf31e3cf38cdc80d40c429d2569dc79abc 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -393,11 +393,8 @@ void ContentViewCoreImpl::UpdateFrameInfo(
|
| return;
|
|
|
| if (window_android_) {
|
| - gfx::Vector2dF window_offset(
|
| - Java_ContentViewCore_getLocationInWindowX(env, obj.obj()),
|
| - Java_ContentViewCore_getLocationInWindowY(env, obj.obj()));
|
| window_android_->set_content_offset(
|
| - gfx::ScaleVector2d(content_offset, dpi_scale_) + window_offset);
|
| + gfx::ScaleVector2d(content_offset, dpi_scale_));
|
| }
|
|
|
| Java_ContentViewCore_updateFrameInfo(
|
|
|