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

Side by Side Diff: Source/core/frame/RemoteDOMWindow.cpp

Issue 952813002: InlinedVisitor: Migrate frame to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "config.h" 5 #include "config.h"
6 #include "core/frame/RemoteDOMWindow.h" 6 #include "core/frame/RemoteDOMWindow.h"
7 7
8 #include "bindings/core/v8/SerializedScriptValue.h" 8 #include "bindings/core/v8/SerializedScriptValue.h"
9 #include "core/css/CSSRuleList.h" 9 #include "core/css/CSSRuleList.h"
10 #include "core/css/CSSStyleDeclaration.h" 10 #include "core/css/CSSStyleDeclaration.h"
11 #include "core/css/MediaQueryList.h" 11 #include "core/css/MediaQueryList.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 const AtomicString& RemoteDOMWindow::interfaceName() const 15 const AtomicString& RemoteDOMWindow::interfaceName() const
16 { 16 {
17 return emptyAtom; 17 return emptyAtom;
18 } 18 }
19 19
20 ExecutionContext* RemoteDOMWindow::executionContext() const 20 ExecutionContext* RemoteDOMWindow::executionContext() const
21 { 21 {
22 return nullptr; 22 return nullptr;
23 } 23 }
24 24
25 void RemoteDOMWindow::trace(Visitor* visitor) 25 DEFINE_TRACE(RemoteDOMWindow)
26 { 26 {
27 visitor->trace(m_frame); 27 visitor->trace(m_frame);
28 DOMWindow::trace(visitor); 28 DOMWindow::trace(visitor);
29 } 29 }
30 30
31 RemoteFrame* RemoteDOMWindow::frame() const 31 RemoteFrame* RemoteDOMWindow::frame() const
32 { 32 {
33 return m_frame.get(); 33 return m_frame.get();
34 } 34 }
35 35
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 { 358 {
359 return String(); 359 return String();
360 } 360 }
361 361
362 RemoteDOMWindow::RemoteDOMWindow(RemoteFrame& frame) 362 RemoteDOMWindow::RemoteDOMWindow(RemoteFrame& frame)
363 : m_frame(&frame) 363 : m_frame(&frame)
364 { 364 {
365 } 365 }
366 366
367 } // namespace blink 367 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698