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 08051f5dfb6acc9fca324492f6ea911aef8f6b6f..51262ba38e8f550ebc7dd0be5dfc6d8abc1d7738 100644 |
--- a/content/browser/android/content_view_core_impl.cc |
+++ b/content/browser/android/content_view_core_impl.cc |
@@ -1463,12 +1463,12 @@ void ContentViewCoreImpl::SetAccessibilityEnabledInternal(bool enabled) { |
} |
void ContentViewCoreImpl::SendOrientationChangeEventInternal() { |
- static_cast<WebContentsImpl*>(web_contents())-> |
- screen_orientation_dispatcher_host()->OnOrientationChange(); |
- |
RenderWidgetHostViewAndroid* rwhv = GetRenderWidgetHostViewAndroid(); |
if (rwhv) |
rwhv->UpdateScreenInfo(GetViewAndroid()); |
+ |
+ static_cast<WebContentsImpl*>(web_contents())-> |
+ screen_orientation_dispatcher_host()->OnOrientationChange(); |
} |
void ContentViewCoreImpl::ExtractSmartClipData(JNIEnv* env, |