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); |
} |
/** |