| Index: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.cpp
|
| diff --git a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.cpp b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.cpp
|
| index fff6c22fc7df64efb911e6d18cb21da09f68e29a..aa752792255b0722c76b93785216c8f1db2efe1a 100644
|
| --- a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.cpp
|
| +++ b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.cpp
|
| @@ -171,7 +171,7 @@ ScriptPromise ScreenOrientation::lock(ScriptState* state,
|
| }
|
|
|
| controller()->lock(stringToOrientationLock(lockString),
|
| - new LockOrientationCallback(resolver));
|
| + WTF::makeUnique<LockOrientationCallback>(resolver));
|
| return promise;
|
| }
|
|
|
|
|