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

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

Issue 462173002: Fix set_area sizes for RequestCopyOfOutput, and related tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: RWHVBrowserTest changes, per danakj's comments. Disabled tests on Windows. Created 6 years, 4 months 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 6d44bf42cf7d1b0ae847b4d834c6293585a205eb..334242d7d3e7e2fe4baf20fcbe6059af31bb0f6b 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -388,8 +388,7 @@ void ContentViewCoreImpl::UpdateFrameInfo(
if (obj.is_null())
return;
- window_android_->set_content_offset(
- gfx::ScaleVector2d(content_offset, dpi_scale_));
+ window_android_->set_content_offset(content_offset);
Java_ContentViewCore_updateFrameInfo(
env, obj.obj(),

Powered by Google App Engine
This is Rietveld 408576698