| 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 9a621418a09dae17d666c8bab8c8d23c7e6b5b0c..ad5ca71890b36167e71eb14e29d247bfaedb597c 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
|
| @@ -44,14 +44,6 @@ ScriptState::ScriptState(v8::Local<v8::Context> context,
|
| ASSERT(m_world);
|
| m_context.setWeak(this, &weakCallback);
|
| context->SetAlignedPointerInEmbedderData(v8ContextPerContextDataIndex, this);
|
| - v8::Local<v8::Object> global = context->Global();
|
| - // TODO(jochen): Remove this once we correctly set internal fields on the
|
| - // global proxy.
|
| - if (global->InternalFieldCount()) {
|
| - int indicies[] = {v8DOMWrapperTypeIndex, v8DOMWrapperObjectIndex};
|
| - void* values[] = {nullptr, nullptr};
|
| - global->SetAlignedPointerInInternalFields(2, indicies, values);
|
| - }
|
| }
|
|
|
| ScriptState::~ScriptState() {
|
|
|