Index: third_party/WebKit/Source/core/frame/SuspendableScriptExecutor.cpp |
diff --git a/third_party/WebKit/Source/core/frame/SuspendableScriptExecutor.cpp b/third_party/WebKit/Source/core/frame/SuspendableScriptExecutor.cpp |
index 4d8de1121c562fe4cd0f71e4238b6e27587a48c3..e9c9474c9b2f12d2203db26cfbc6954311032ec3 100644 |
--- a/third_party/WebKit/Source/core/frame/SuspendableScriptExecutor.cpp |
+++ b/third_party/WebKit/Source/core/frame/SuspendableScriptExecutor.cpp |
@@ -114,7 +114,7 @@ Vector<v8::Local<v8::Value>> V8FunctionExecutor::Execute(LocalFrame* frame) { |
std::unique_ptr<UserGestureIndicator> gesture_indicator; |
if (gesture_token_) { |
gesture_indicator = |
- WTF::WrapUnique(new UserGestureIndicator(gesture_token_.Release())); |
+ WTF::WrapUnique(new UserGestureIndicator(std::move(gesture_token_))); |
} |
if (V8ScriptRunner::CallFunction(function_.NewLocal(isolate), |
frame->GetDocument(), |