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

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

Issue 2607743002: Remove existingWindowProxy() (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
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/WindowProxyManager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/WindowProxyManager.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/WindowProxyManager.cpp b/third_party/WebKit/Source/bindings/core/v8/WindowProxyManager.cpp
index 77bec2cacf16292cf63368bc8ab58c9e6902c18f..e51c76dcd532d6e92c9675e4c9ac60e49bd50112 100644
--- a/third_party/WebKit/Source/bindings/core/v8/WindowProxyManager.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/WindowProxyManager.cpp
@@ -61,17 +61,6 @@ void WindowProxyManager::updateSecurityOrigin(SecurityOrigin* securityOrigin) {
}
}
-WindowProxy* WindowProxyManager::existingWindowProxy(DOMWrapperWorld& world) {
- if (world.isMainWorld())
- return m_windowProxy->isContextInitialized() ? m_windowProxy.get()
- : nullptr;
-
- IsolatedWorldMap::iterator iter = m_isolatedWorlds.find(world.worldId());
- if (iter == m_isolatedWorlds.end())
- return nullptr;
- return iter->value->isContextInitialized() ? iter->value.get() : nullptr;
-}
-
void WindowProxyManager::releaseGlobals(
HashMap<DOMWrapperWorld*, v8::Local<v8::Object>>& map) {
map.add(&m_windowProxy->world(), m_windowProxy->releaseGlobal());
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/WindowProxyManager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698