| Index: Source/modules/screen_orientation/ScreenOrientation.cpp
|
| diff --git a/Source/modules/screen_orientation/ScreenOrientation.cpp b/Source/modules/screen_orientation/ScreenOrientation.cpp
|
| index 7e8e26d5d1224728bb21c271e54bfb1fec999de6..da01e5e0047c200ec0b53e7b4ab967c59d3efadb 100644
|
| --- a/Source/modules/screen_orientation/ScreenOrientation.cpp
|
| +++ b/Source/modules/screen_orientation/ScreenOrientation.cpp
|
| @@ -152,7 +152,7 @@ void ScreenOrientation::setAngle(unsigned short angle)
|
|
|
| ScriptPromise ScreenOrientation::lock(ScriptState* state, const AtomicString& lockString)
|
| {
|
| - RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(state);
|
| + ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(state);
|
| ScriptPromise promise = resolver->promise();
|
|
|
| Document* document = m_frame ? m_frame->document() : 0;
|
|
|