Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp

Issue 2571063002: Remove Blink-in-JS (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698