| Index: third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
|
| index 86f55cf43657623b7738f4277e8607888ead28f5..510bc5bc24f7c1023950c276647e9f239c03ad5a 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
|
| @@ -13,7 +13,7 @@ namespace blink {
|
|
|
| PassRefPtr<ScriptState> ScriptState::create(v8::Local<v8::Context> context, PassRefPtr<DOMWrapperWorld> world)
|
| {
|
| - RefPtr<ScriptState> scriptState = adoptRef(new ScriptState(context, world));
|
| + RefPtr<ScriptState> scriptState = adoptRef(new ScriptState(context, std::move(world)));
|
| // This ref() is for keeping this ScriptState alive as long as the v8::Context is alive.
|
| // This is deref()ed in the weak callback of the v8::Context.
|
| scriptState->ref();
|
|
|