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 f4520c1138476ef94982a5c1ac285b2945a47593..ffa410854cae6c8514db28e7cac8c300ce269dbe 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp |
@@ -35,9 +35,8 @@ ScriptState::ScriptState(v8::Local<v8::Context> context, |
PassRefPtr<DOMWrapperWorld> world) |
: m_isolate(context->GetIsolate()), |
m_context(m_isolate, context), |
- m_world(world), |
- m_perContextData(V8PerContextData::create(context)) |
-{ |
+ m_world(std::move(world)), |
+ m_perContextData(V8PerContextData::create(context)) { |
DCHECK(m_world); |
m_context.setWeak(this, &contextCollectedCallback); |
context->SetAlignedPointerInEmbedderData(v8ContextPerContextDataIndex, this); |