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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.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/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java
index 7147e03d4560be16cc26427cac54f4fa28d99568..0365fdbb59bc1b5dc120577cf8b4f5630f2a834b 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java
@@ -181,7 +181,7 @@ public class AwContentsAnchorViewTest extends AwTestBase {
}
private LayoutParams setLayoutParams(View anchorView, int coords, int dimension) {
- float scale = DisplayAndroid.getNonMultiDisplay(mContainerView.getContext()).getDIPScale();
+ float scale = DisplayAndroid.getNonMultiDisplay(mContainerView.getContext()).getDipScale();
mViewDelegate.setViewPosition(
anchorView, coords, coords, dimension, dimension, scale, 10, 10);
return anchorView.getLayoutParams();

Powered by Google App Engine
This is Rietveld 408576698