OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "bindings/core/v8/WindowProxyManager.h" | 5 #include "bindings/core/v8/WindowProxyManager.h" |
6 | 6 |
7 #include "bindings/core/v8/DOMWrapperWorld.h" | 7 #include "platform/bindings/DOMWrapperWorld.h" |
8 | 8 |
9 namespace blink { | 9 namespace blink { |
10 | 10 |
11 DEFINE_TRACE(WindowProxyManager) { | 11 DEFINE_TRACE(WindowProxyManager) { |
12 visitor->Trace(frame_); | 12 visitor->Trace(frame_); |
13 visitor->Trace(window_proxy_); | 13 visitor->Trace(window_proxy_); |
14 visitor->Trace(isolated_worlds_); | 14 visitor->Trace(isolated_worlds_); |
15 } | 15 } |
16 | 16 |
17 void WindowProxyManager::ClearForClose() { | 17 void WindowProxyManager::ClearForClose() { |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 for (auto& entry : isolated_worlds_) { | 95 for (auto& entry : isolated_worlds_) { |
96 auto* isolated_window_proxy = | 96 auto* isolated_window_proxy = |
97 static_cast<LocalWindowProxy*>(entry.value.Get()); | 97 static_cast<LocalWindowProxy*>(entry.value.Get()); |
98 SecurityOrigin* isolated_security_origin = | 98 SecurityOrigin* isolated_security_origin = |
99 isolated_window_proxy->World().IsolatedWorldSecurityOrigin(); | 99 isolated_window_proxy->World().IsolatedWorldSecurityOrigin(); |
100 isolated_window_proxy->UpdateSecurityOrigin(isolated_security_origin); | 100 isolated_window_proxy->UpdateSecurityOrigin(isolated_security_origin); |
101 } | 101 } |
102 } | 102 } |
103 | 103 |
104 } // namespace blink | 104 } // namespace blink |
OLD | NEW |