| Index: Source/modules/screen_orientation/LockOrientationCallback.h
|
| diff --git a/Source/modules/screen_orientation/LockOrientationCallback.h b/Source/modules/screen_orientation/LockOrientationCallback.h
|
| index ba2abe0be4bd0c93b66d33d43e31cb5059092c09..f206a1815f92a87a04191966b168f365557f68d7 100644
|
| --- a/Source/modules/screen_orientation/LockOrientationCallback.h
|
| +++ b/Source/modules/screen_orientation/LockOrientationCallback.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef LockOrientationCallback_h
|
| #define LockOrientationCallback_h
|
|
|
| +#include "platform/heap/Handle.h"
|
| #include "public/platform/WebLockOrientationCallback.h"
|
| #include "public/platform/WebScreenOrientationType.h"
|
| #include "wtf/Noncopyable.h"
|
| @@ -21,14 +22,14 @@ class ScriptPromiseResolver;
|
| class LockOrientationCallback final : public WebLockOrientationCallback {
|
| WTF_MAKE_NONCOPYABLE(LockOrientationCallback);
|
| public:
|
| - explicit LockOrientationCallback(PassRefPtr<ScriptPromiseResolver>);
|
| + explicit LockOrientationCallback(PassRefPtrWillBeRawPtr<ScriptPromiseResolver>);
|
| virtual ~LockOrientationCallback();
|
|
|
| virtual void onSuccess() override;
|
| virtual void onError(WebLockOrientationError) override;
|
|
|
| private:
|
| - RefPtr<ScriptPromiseResolver> m_resolver;
|
| + RefPtrWillBePersistent<ScriptPromiseResolver> m_resolver;
|
| };
|
|
|
| } // namespace blink
|
|
|