| Index: content/browser/screen_orientation/screen_orientation_delegate_android.cc
|
| diff --git a/content/browser/screen_orientation/screen_orientation_delegate_android.cc b/content/browser/screen_orientation/screen_orientation_delegate_android.cc
|
| index 6a0dec1458edb7f51c9b2e0db3354e9f06cc78db..d534d30e15099658618537cdd6a28778b58402e3 100644
|
| --- a/content/browser/screen_orientation/screen_orientation_delegate_android.cc
|
| +++ b/content/browser/screen_orientation/screen_orientation_delegate_android.cc
|
| @@ -5,6 +5,7 @@
|
| #include "content/browser/screen_orientation/screen_orientation_delegate_android.h"
|
|
|
| #include "content/browser/android/content_view_core_impl.h"
|
| +#include "content/browser/screen_orientation/screen_orientation_provider.h"
|
| #include "jni/ScreenOrientationProvider_jni.h"
|
| #include "ui/android/window_android.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| @@ -12,9 +13,11 @@
|
| namespace content {
|
|
|
| ScreenOrientationDelegateAndroid::ScreenOrientationDelegateAndroid() {
|
| + ScreenOrientationProvider::SetDelegate(this);
|
| }
|
|
|
| ScreenOrientationDelegateAndroid::~ScreenOrientationDelegateAndroid() {
|
| + ScreenOrientationProvider::SetDelegate(nullptr);
|
| }
|
|
|
| // static
|
|
|