| 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 "bindings/core/v8/DOMWrapperWorld.h" |
| 8 #include "bindings/core/v8/WindowProxy.h" | 8 #include "bindings/core/v8/WindowProxy.h" |
| 9 #include "core/frame/Frame.h" | 9 #include "core/frame/Frame.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 RawPtr<WindowProxyManager> WindowProxyManager::create(Frame& frame) | 13 WindowProxyManager* WindowProxyManager::create(Frame& frame) |
| 14 { | 14 { |
| 15 return new WindowProxyManager(frame); | 15 return new WindowProxyManager(frame); |
| 16 } | 16 } |
| 17 | 17 |
| 18 WindowProxyManager::~WindowProxyManager() | 18 WindowProxyManager::~WindowProxyManager() |
| 19 { | 19 { |
| 20 } | 20 } |
| 21 | 21 |
| 22 DEFINE_TRACE(WindowProxyManager) | 22 DEFINE_TRACE(WindowProxyManager) |
| 23 { | 23 { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 } | 93 } |
| 94 | 94 |
| 95 WindowProxyManager::WindowProxyManager(Frame& frame) | 95 WindowProxyManager::WindowProxyManager(Frame& frame) |
| 96 : m_frame(&frame) | 96 : m_frame(&frame) |
| 97 , m_isolate(v8::Isolate::GetCurrent()) | 97 , m_isolate(v8::Isolate::GetCurrent()) |
| 98 , m_windowProxy(WindowProxy::create(m_isolate, &frame, DOMWrapperWorld::main
World())) | 98 , m_windowProxy(WindowProxy::create(m_isolate, &frame, DOMWrapperWorld::main
World())) |
| 99 { | 99 { |
| 100 } | 100 } |
| 101 | 101 |
| 102 } // namespace blink | 102 } // namespace blink |
| OLD | NEW |