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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwViewAndroidDelegate.java

Issue 2485063004: Rename getDIPScale() to getDipScale() (Closed)
Patch Set: Created 4 years, 1 month 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: android_webview/java/src/org/chromium/android_webview/AwViewAndroidDelegate.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwViewAndroidDelegate.java b/android_webview/java/src/org/chromium/android_webview/AwViewAndroidDelegate.java
index 5c4403c939643dcbbb98d52f0a59f47b33986cc4..80753a42d759693bfee599c44e4f3551e5c60f2b 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwViewAndroidDelegate.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwViewAndroidDelegate.java
@@ -99,7 +99,7 @@ public class AwViewAndroidDelegate extends ViewAndroidDelegate {
}
containerView.addView(anchorView);
if (position != null) {
- float scale = display.getDIPScale();
+ float scale = display.getDipScale();
setViewPosition(anchorView, position.mX, position.mY,
position.mWidth, position.mHeight, scale,
position.mLeftMargin, position.mTopMargin);

Powered by Google App Engine
This is Rietveld 408576698