| Index: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.h
|
| diff --git a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.h b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.h
|
| index 7917539e0d46383996ac6a597238a72da8d9c5d7..2fb4e894bad191a6e39d669fd6bcc42a385244a5 100644
|
| --- a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.h
|
| +++ b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.h
|
| @@ -13,6 +13,7 @@
|
| #include "public/platform/modules/screen_orientation/WebLockOrientationCallback.h"
|
| #include "public/platform/modules/screen_orientation/WebScreenOrientationLockType.h"
|
| #include "public/platform/modules/screen_orientation/WebScreenOrientationType.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -33,7 +34,8 @@ class MODULES_EXPORT ScreenOrientationController final
|
| void setOrientation(ScreenOrientation*);
|
| void notifyOrientationChanged();
|
|
|
| - void lock(WebScreenOrientationLockType, WebLockOrientationCallback*);
|
| + void lock(WebScreenOrientationLockType,
|
| + std::unique_ptr<WebLockOrientationCallback>);
|
| void unlock();
|
|
|
| static void provideTo(LocalFrame&, WebScreenOrientationClient*);
|
|
|