| Index: content/browser/android/content_view_core_impl.cc
|
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
|
| index 9e70f65118c4b6f12ede2807ccd3ca9ebf4fe158..27d16f974fb4c244085d790cb12fd2803e6af77e 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -1337,6 +1337,10 @@ void ContentViewCoreImpl::SetAccessibilityEnabledInternal(bool enabled) {
|
| }
|
|
|
| void ContentViewCoreImpl::SendOrientationChangeEventInternal() {
|
| + ui::WindowAndroid* windowAndroid = GetWindowAndroid();
|
| + if (windowAndroid)
|
| + windowAndroid->UpdateDeviceDisplayInfo();
|
| +
|
| RenderWidgetHostViewAndroid* rwhv = GetRenderWidgetHostViewAndroid();
|
| if (rwhv)
|
| rwhv->UpdateScreenInfo(GetViewAndroid());
|
|
|