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

Side by Side Diff: Source/core/xml/DocumentXSLT.cpp

Issue 937653002: InlinedVisitor: Migrate xml 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
« no previous file with comments | « Source/core/xml/DocumentXSLT.h ('k') | Source/core/xml/NativeXPathNSResolver.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/xml/DocumentXSLT.h" 6 #include "core/xml/DocumentXSLT.h"
7 7
8 #include "bindings/core/v8/DOMWrapperWorld.h" 8 #include "bindings/core/v8/DOMWrapperWorld.h"
9 #include "bindings/core/v8/ScriptState.h" 9 #include "bindings/core/v8/ScriptState.h"
10 #include "bindings/core/v8/V8AbstractEventListener.h" 10 #include "bindings/core/v8/V8AbstractEventListener.h"
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 DocumentXSLT& DocumentXSLT::from(DocumentSupplementable& document) 189 DocumentXSLT& DocumentXSLT::from(DocumentSupplementable& document)
190 { 190 {
191 DocumentXSLT* supplement = static_cast<DocumentXSLT*>(DocumentSupplement::fr om(document, supplementName())); 191 DocumentXSLT* supplement = static_cast<DocumentXSLT*>(DocumentSupplement::fr om(document, supplementName()));
192 if (!supplement) { 192 if (!supplement) {
193 supplement = new DocumentXSLT(); 193 supplement = new DocumentXSLT();
194 DocumentSupplement::provideTo(document, supplementName(), adoptPtrWillBe Noop(supplement)); 194 DocumentSupplement::provideTo(document, supplementName(), adoptPtrWillBe Noop(supplement));
195 } 195 }
196 return *supplement; 196 return *supplement;
197 } 197 }
198 198
199 void DocumentXSLT::trace(Visitor* visitor) 199 DEFINE_TRACE(DocumentXSLT)
200 { 200 {
201 visitor->trace(m_transformSourceDocument); 201 visitor->trace(m_transformSourceDocument);
202 DocumentSupplement::trace(visitor); 202 DocumentSupplement::trace(visitor);
203 } 203 }
204 204
205 } // namespace blink 205 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/xml/DocumentXSLT.h ('k') | Source/core/xml/NativeXPathNSResolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698