Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(602)

Unified Diff: content/browser/android/content_view_core_impl.cc

Issue 2219823002: Move content offset to ViewAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pass right bounds to snapshot api Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 0e7e53ecd062f22adeb47802398a9810a556d574..38cea2a8e61c20b88e5c14dad60be825ffb4465e 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -422,9 +422,6 @@ void ContentViewCoreImpl::UpdateFrameInfo(
if (obj.is_null() || !GetWindowAndroid())
return;
- GetWindowAndroid()->set_content_offset(
- gfx::Vector2dF(0.0f, top_controls_height * top_controls_shown_ratio));
-
page_scale_ = page_scale_factor;
// The CursorAnchorInfo API in Android only supports zero width selection

Powered by Google App Engine
This is Rietveld 408576698