Index: Source/modules/screen_orientation/LockOrientationCallback.h |
diff --git a/Source/modules/screen_orientation/LockOrientationCallback.h b/Source/modules/screen_orientation/LockOrientationCallback.h |
index b984362f0ad9311e6f8896e5302d0566f5b4e872..74bc20d45616cd5119394a8b6e9c0f9227d270ff 100644 |
--- a/Source/modules/screen_orientation/LockOrientationCallback.h |
+++ b/Source/modules/screen_orientation/LockOrientationCallback.h |
@@ -22,14 +22,14 @@ class ScriptPromiseResolver; |
class LockOrientationCallback final : public WebLockOrientationCallback { |
WTF_MAKE_NONCOPYABLE(LockOrientationCallback); |
public: |
- explicit LockOrientationCallback(PassRefPtrWillBeRawPtr<ScriptPromiseResolver>); |
+ explicit LockOrientationCallback(ScriptPromiseResolver*); |
~LockOrientationCallback() override; |
void onSuccess() override; |
void onError(WebLockOrientationError) override; |
private: |
- RefPtrWillBePersistent<ScriptPromiseResolver> m_resolver; |
+ Persistent<ScriptPromiseResolver> m_resolver; |
}; |
} // namespace blink |