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

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

Issue 2848963002: Clean up bindings/core/v8 (Part 1) (Closed)
Patch Set: Fix build Created 3 years, 7 months 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698