Chromium Code Reviews| 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 bee676ccad0a560288c9ea6fa10aa8d949b1b53b..83c38935d9e3593ac633bff7377b510cad1abced 100644 |
| --- a/content/browser/android/content_view_core_impl.cc |
| +++ b/content/browser/android/content_view_core_impl.cc |
| @@ -429,8 +429,7 @@ void ContentViewCoreImpl::UpdateFrameInfo( |
| if (obj.is_null() || !view_.GetWindowAndroid()) |
| return; |
| - view_.GetWindowAndroid()->set_content_offset( |
| - gfx::ScaleVector2d(content_offset, dpi_scale_)); |
| + view_.set_content_offset(gfx::ScaleVector2d(content_offset, dpi_scale_)); |
|
no sievers
2016/08/05 18:22:44
Actually with your change this can now be done in
Jinsuk Kim
2016/12/22 12:35:48
Done. BTW I'm not clear about what to do with the
boliu
2016/12/22 21:22:38
Hmm, debatable.
Ideally, the offset should be on
|
| page_scale_ = page_scale_factor; |