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 7854c3e44ecb2dd4432142a395239ddef0b483d0..0c7359529871006ec820fc2e773fa0ea657f96c5 100644 |
--- a/content/browser/android/content_view_core_impl.cc |
+++ b/content/browser/android/content_view_core_impl.cc |
@@ -42,7 +42,7 @@ |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/favicon_status.h" |
#include "content/public/browser/render_frame_host.h" |
-#include "content/public/browser/screen_orientation_dispatcher_host.h" |
+#include "content/public/browser/screen_orientation_provider.h" |
#include "content/public/browser/ssl_host_state_delegate.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/common/content_client.h" |
@@ -1371,8 +1371,9 @@ void ContentViewCoreImpl::SendOrientationChangeEventInternal() { |
if (rwhv) |
rwhv->UpdateScreenInfo(&view_); |
- static_cast<WebContentsImpl*>(web_contents())-> |
- screen_orientation_dispatcher_host()->OnOrientationChange(); |
+ static_cast<WebContentsImpl*>(web_contents()) |
+ ->GetScreenOrientationProvider() |
+ ->OnOrientationChange(); |
} |
void ContentViewCoreImpl::ExtractSmartClipData(JNIEnv* env, |