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

Unified Diff: ui/android/java/src/org/chromium/ui/display/VirtualDisplayAndroid.java

Issue 2859313002: android: Fix display size under multiwindow (Closed)
Patch Set: Created 3 years, 7 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: ui/android/java/src/org/chromium/ui/display/VirtualDisplayAndroid.java
diff --git a/ui/android/java/src/org/chromium/ui/display/VirtualDisplayAndroid.java b/ui/android/java/src/org/chromium/ui/display/VirtualDisplayAndroid.java
index 476e93439ed6cd7749f6dc82f8397a74d1badf38..2bfcb412bdafad7bb5df06692d472421daa39880 100644
--- a/ui/android/java/src/org/chromium/ui/display/VirtualDisplayAndroid.java
+++ b/ui/android/java/src/org/chromium/ui/display/VirtualDisplayAndroid.java
@@ -22,16 +22,14 @@ public class VirtualDisplayAndroid extends DisplayAndroid {
* @param other Sets the properties of this display to those of the other display.
*/
public void setTo(DisplayAndroid other) {
- update(new Point(other.getDisplayWidth(), other.getDisplayHeight()),
- new Point(other.getPhysicalDisplayWidth(), other.getPhysicalDisplayHeight()),
- other.getDipScale(), other.getBitsPerPixel(),
- other.getBitsPerComponent(), other.getRotation());
+ update(new Point(other.getDisplayWidth(), other.getDisplayHeight()), other.getDipScale(),
+ other.getBitsPerPixel(), other.getBitsPerComponent(), other.getRotation());
}
@Override
- public void update(Point size, Point physicalSize, Float dipScale, Integer bitsPerPixel,
- Integer bitsPerComponent, Integer rotation) {
- super.update(size, physicalSize, dipScale, bitsPerPixel, bitsPerComponent, rotation);
+ public void update(Point size, Float dipScale, Integer bitsPerPixel, Integer bitsPerComponent,
+ Integer rotation) {
+ super.update(size, dipScale, bitsPerPixel, bitsPerComponent, rotation);
}
/**

Powered by Google App Engine
This is Rietveld 408576698