| Index: third_party/WebKit/Source/core/dom/MessagePort.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/MessagePort.cpp b/third_party/WebKit/Source/core/dom/MessagePort.cpp
|
| index 94fb61b9e220874153fac78f8ead1f3659f41885..36de6e479d4e570311d3f5b40cd9cb6a08954f39 100644
|
| --- a/third_party/WebKit/Source/core/dom/MessagePort.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/MessagePort.cpp
|
| @@ -273,20 +273,4 @@ DEFINE_TRACE(MessagePort)
|
| EventTargetWithInlineData::trace(visitor);
|
| }
|
|
|
| -v8::Isolate* MessagePort::scriptIsolate()
|
| -{
|
| - DCHECK(getExecutionContext());
|
| - return toIsolate(getExecutionContext());
|
| -}
|
| -
|
| -v8::Local<v8::Context> MessagePort::scriptContextForMessageConversion()
|
| -{
|
| - DCHECK(getExecutionContext());
|
| - if (!m_scriptStateForConversion) {
|
| - v8::Isolate* isolate = scriptIsolate();
|
| - m_scriptStateForConversion = ScriptState::create(v8::Context::New(isolate), DOMWrapperWorld::create(isolate));
|
| - }
|
| - return m_scriptStateForConversion->context();
|
| -}
|
| -
|
| } // namespace blink
|
|
|