| 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 a07cbae3f4615788f50d0f3d1fea45f1166a0593..8a50f5e03569baaf23e62d88de789051b57daff8 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp
|
| @@ -106,23 +106,6 @@ DOMWrapperWorld& DOMWrapperWorld::mainWorld() {
|
| return *cachedMainWorld;
|
| }
|
|
|
| -DOMWrapperWorld& DOMWrapperWorld::privateScriptIsolatedWorld() {
|
| - ASSERT(isMainThread());
|
| - DEFINE_STATIC_LOCAL(RefPtr<DOMWrapperWorld>, cachedPrivateScriptIsolatedWorld,
|
| - ());
|
| - if (!cachedPrivateScriptIsolatedWorld) {
|
| - cachedPrivateScriptIsolatedWorld = DOMWrapperWorld::create(
|
| - v8::Isolate::GetCurrent(), PrivateScriptIsolatedWorldId,
|
| - privateScriptIsolatedWorldExtensionGroup);
|
| - // This name must match the string in DevTools used to guard the
|
| - // privateScriptInspection experiment.
|
| - DOMWrapperWorld::setIsolatedWorldHumanReadableName(
|
| - PrivateScriptIsolatedWorldId, "private script");
|
| - isolatedWorldCount++;
|
| - }
|
| - return *cachedPrivateScriptIsolatedWorld;
|
| -}
|
| -
|
| PassRefPtr<DOMWrapperWorld> DOMWrapperWorld::fromWorldId(v8::Isolate* isolate,
|
| int worldId,
|
| int extensionGroup) {
|
|
|