| Index: content/public/android/java/src/org/chromium/content/browser/ScreenOrientationListener.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/ScreenOrientationListener.java b/content/public/android/java/src/org/chromium/content/browser/ScreenOrientationListener.java
|
| index a14d76bef1644f316f55bb5aa8ff081f349a4dc9..7e809c0e27578f5fdbf9ebe9cdd67fe464869d66 100644
|
| --- a/content/public/android/java/src/org/chromium/content/browser/ScreenOrientationListener.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/ScreenOrientationListener.java
|
| @@ -19,6 +19,7 @@ import com.google.common.annotations.VisibleForTesting;
|
|
|
| import org.chromium.base.ObserverList;
|
| import org.chromium.base.ThreadUtils;
|
| +import org.chromium.ui.gfx.DeviceDisplayInfo;
|
|
|
| /**
|
| * ScreenOrientationListener is a class that informs its observers when the
|
| @@ -251,6 +252,8 @@ public class ScreenOrientationListener {
|
| int previousOrientation = mOrientation;
|
| updateOrientation();
|
|
|
| + DeviceDisplayInfo.create(mAppContext).updateNativeSharedDisplayInfo();
|
| +
|
| if (mOrientation == previousOrientation) {
|
| return;
|
| }
|
|
|