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

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

Issue 169293002: Oilpan: Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixheaptest Created 6 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/XMLSerializer.cpp ('k') | Source/core/xml/XPathEvaluator.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2005 Frerich Raabe <raabe@kde.org> 2 * Copyright 2005 Frerich Raabe <raabe@kde.org>
3 * Copyright (C) 2006 Apple Computer, Inc. 3 * Copyright (C) 2006 Apple Computer, Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 24 matching lines...) Expand all
35 35
36 namespace WebCore { 36 namespace WebCore {
37 37
38 class ExceptionState; 38 class ExceptionState;
39 class Node; 39 class Node;
40 class XPathExpression; 40 class XPathExpression;
41 class XPathNSResolver; 41 class XPathNSResolver;
42 class XPathResult; 42 class XPathResult;
43 43
44 class XPathEvaluator : public RefCountedWillBeGarbageCollectedFinalized<XPathEva luator>, public ScriptWrappable { 44 class XPathEvaluator : public RefCountedWillBeGarbageCollectedFinalized<XPathEva luator>, public ScriptWrappable {
45 DECLARE_GC_INFO;
46 public: 45 public:
47 static PassRefPtrWillBeRawPtr<XPathEvaluator> create() 46 static PassRefPtrWillBeRawPtr<XPathEvaluator> create()
48 { 47 {
49 return adoptRefWillBeNoop(new XPathEvaluator); 48 return adoptRefWillBeNoop(new XPathEvaluator);
50 } 49 }
51 50
52 PassRefPtrWillBeRawPtr<XPathExpression> createExpression(const String& expre ssion, PassRefPtrWillBeRawPtr<XPathNSResolver>, ExceptionState&); 51 PassRefPtrWillBeRawPtr<XPathExpression> createExpression(const String& expre ssion, PassRefPtrWillBeRawPtr<XPathNSResolver>, ExceptionState&);
53 PassRefPtrWillBeRawPtr<XPathNSResolver> createNSResolver(Node* nodeResolver) ; 52 PassRefPtrWillBeRawPtr<XPathNSResolver> createNSResolver(Node* nodeResolver) ;
54 PassRefPtrWillBeRawPtr<XPathResult> evaluate(const String& expression, Node* contextNode, 53 PassRefPtrWillBeRawPtr<XPathResult> evaluate(const String& expression, Node* contextNode,
55 PassRefPtrWillBeRawPtr<XPathNSResolver>, unsigned short type, XPathResul t*, ExceptionState&); 54 PassRefPtrWillBeRawPtr<XPathNSResolver>, unsigned short type, XPathResul t*, ExceptionState&);
56 55
57 void trace(Visitor*) { } 56 void trace(Visitor*) { }
58 57
59 private: 58 private:
60 XPathEvaluator() 59 XPathEvaluator()
61 { 60 {
62 ScriptWrappable::init(this); 61 ScriptWrappable::init(this);
63 } 62 }
64 }; 63 };
65 64
66 } 65 }
67 66
68 #endif // XPathEvaluator_h 67 #endif // XPathEvaluator_h
OLDNEW
« no previous file with comments | « Source/core/xml/XMLSerializer.cpp ('k') | Source/core/xml/XPathEvaluator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698