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

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

Issue 2606863003: Remove an isContextInitialized() check from WindowProxyManager::updateSecurityOrigin() (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 | « no previous file | 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..84778c1705be153ec452907a4433b654481e0b45 100644
--- a/third_party/WebKit/Source/bindings/core/v8/WindowProxyManager.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/WindowProxyManager.cpp
@@ -50,11 +50,8 @@ void WindowProxyManager::clearForNavigation() {
void WindowProxyManager::updateSecurityOrigin(SecurityOrigin* securityOrigin) {
m_windowProxy->updateSecurityOrigin(securityOrigin);
-
for (auto& entry : m_isolatedWorlds) {
WindowProxy* isolatedWindowProxy = entry.value.get();
- if (!isolatedWindowProxy->isContextInitialized())
- continue;
SecurityOrigin* isolatedSecurityOrigin =
isolatedWindowProxy->world().isolatedWorldSecurityOrigin();
isolatedWindowProxy->updateSecurityOrigin(isolatedSecurityOrigin);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698