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

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

Issue 1321723004: Make classes and structures in core/xml, core/input, core/imagebitmap and core/Init fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « Source/core/xml/DocumentXPathEvaluator.h ('k') | Source/core/xml/XPathParser.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 #ifndef DocumentXSLT_h 5 #ifndef DocumentXSLT_h
6 #define DocumentXSLT_h 6 #define DocumentXSLT_h
7 7
8 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "wtf/RefPtr.h" 10 #include "wtf/RefPtr.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class Document; 14 class Document;
15 class ProcessingInstruction; 15 class ProcessingInstruction;
16 16
17 class DocumentXSLT final : public NoBaseWillBeGarbageCollected<DocumentXSLT>, pu blic WillBeHeapSupplement<Document> { 17 class DocumentXSLT final : public NoBaseWillBeGarbageCollected<DocumentXSLT>, pu blic WillBeHeapSupplement<Document> {
18 WTF_MAKE_NONCOPYABLE(DocumentXSLT); 18 WTF_MAKE_NONCOPYABLE(DocumentXSLT);
19 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DocumentXSLT); 19 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DocumentXSLT);
20 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(DocumentXSLT);
20 public: 21 public:
21 Document* transformSourceDocument() 22 Document* transformSourceDocument()
22 { 23 {
23 return m_transformSourceDocument.get(); 24 return m_transformSourceDocument.get();
24 } 25 }
25 26
26 void setTransformSourceDocument(Document* document) 27 void setTransformSourceDocument(Document* document)
27 { 28 {
28 ASSERT(document); 29 ASSERT(document);
29 m_transformSourceDocument = document; 30 m_transformSourceDocument = document;
(...skipping 15 matching lines...) Expand all
45 46
46 private: 47 private:
47 DocumentXSLT(); 48 DocumentXSLT();
48 49
49 RefPtrWillBeMember<Document> m_transformSourceDocument; 50 RefPtrWillBeMember<Document> m_transformSourceDocument;
50 }; 51 };
51 52
52 } // namespace blink 53 } // namespace blink
53 54
54 #endif 55 #endif
OLDNEW
« no previous file with comments | « Source/core/xml/DocumentXPathEvaluator.h ('k') | Source/core/xml/XPathParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698