| Index: third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp b/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp
|
| index c92eb5f0e1ffdd7e3564d6acc47e2aeb0730faf1..deddf297dd8f0a8fd57a36f03300a850dac26970 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp
|
| @@ -161,27 +161,6 @@ void DOMWrapperWorld::markWrappersInAllWorlds(
|
| }
|
| }
|
|
|
| -void DOMWrapperWorld::setWrapperReferencesInAllWorlds(
|
| - const v8::Persistent<v8::Object>& parent,
|
| - ScriptWrappable* scriptWrappable,
|
| - v8::Isolate* isolate) {
|
| - if (!scriptWrappable)
|
| - return;
|
| - // Marking for the main world
|
| - if (scriptWrappable->containsWrapper())
|
| - scriptWrappable->setReference(parent, isolate);
|
| - if (!isMainThread())
|
| - return;
|
| - WorldMap& isolatedWorlds = isolatedWorldMap();
|
| - for (auto& world : isolatedWorlds.values()) {
|
| - DOMDataStore& dataStore = world->domDataStore();
|
| - if (dataStore.containsWrapper(scriptWrappable)) {
|
| - // Marking for the isolated worlds
|
| - dataStore.setReference(parent, scriptWrappable, isolate);
|
| - }
|
| - }
|
| -}
|
| -
|
| DOMWrapperWorld::~DOMWrapperWorld() {
|
| ASSERT(!isMainWorld());
|
|
|
|
|