| 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 ffa57addb6c49bf19cd07757f36828e563dc91a0..491484d37ff83f3c902679a12d0bc82d490757ee 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -33,6 +33,7 @@
|
| #include "content/browser/renderer_host/render_view_host_impl.h"
|
| #include "content/browser/renderer_host/render_widget_host_impl.h"
|
| #include "content/browser/renderer_host/render_widget_host_view_android.h"
|
| +#include "content/browser/screen_orientation/screen_orientation.h"
|
| #include "content/browser/web_contents/web_contents_view_android.h"
|
| #include "content/common/frame_messages.h"
|
| #include "content/common/input_messages.h"
|
| @@ -42,7 +43,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"
|
| @@ -1356,8 +1357,9 @@ void ContentViewCoreImpl::SendOrientationChangeEventInternal() {
|
| if (rwhv)
|
| rwhv->UpdateScreenInfo(GetViewAndroid());
|
|
|
| - static_cast<WebContentsImpl*>(web_contents())->
|
| - screen_orientation_dispatcher_host()->OnOrientationChange();
|
| + static_cast<WebContentsImpl*>(web_contents())
|
| + ->GetScreenOrientationProvider()
|
| + ->OnOrientationChange();
|
| }
|
|
|
| void ContentViewCoreImpl::ExtractSmartClipData(JNIEnv* env,
|
|
|