| Index: ash/content/screen_orientation_delegate_chromeos.cc
|
| diff --git a/ash/content/screen_orientation_delegate_chromeos.cc b/ash/content/screen_orientation_delegate_chromeos.cc
|
| index ab9a4c29dbf1908790dc1cf48c3cb0503b5868e9..76243b2e4a2836b786e1dc86d86627125c5751b6 100644
|
| --- a/ash/content/screen_orientation_delegate_chromeos.cc
|
| +++ b/ash/content/screen_orientation_delegate_chromeos.cc
|
| @@ -7,17 +7,16 @@
|
| #include "ash/common/wm_window.h"
|
| #include "ash/display/screen_orientation_controller_chromeos.h"
|
| #include "ash/shell.h"
|
| -#include "content/public/browser/screen_orientation_provider.h"
|
| #include "content/public/browser/web_contents.h"
|
|
|
| namespace ash {
|
|
|
| ScreenOrientationDelegateChromeos::ScreenOrientationDelegateChromeos() {
|
| - content::ScreenOrientationProvider::SetDelegate(this);
|
| + content::WebContents::SetScreenOrientationDelegate(this);
|
| }
|
|
|
| ScreenOrientationDelegateChromeos::~ScreenOrientationDelegateChromeos() {
|
| - content::ScreenOrientationProvider::SetDelegate(nullptr);
|
| + content::WebContents::SetScreenOrientationDelegate(nullptr);
|
| }
|
|
|
| bool ScreenOrientationDelegateChromeos::FullScreenRequired(
|
|
|