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

Side by Side Diff: Source/core/svg/SVGElementInstance.h

Issue 106423003: [oilpan] Rename visit to mark. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Address comments. Created 7 years 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/svg/SVGElement.cpp ('k') | Source/core/workers/AbstractWorker.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 /* 1 /*
2 * Copyright (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved. 3 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(correspondingElement(), resize); 137 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(correspondingElement(), resize);
138 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(correspondingElement(), scroll); 138 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(correspondingElement(), scroll);
139 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(correspondingElement(), search); 139 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(correspondingElement(), search);
140 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(correspondingElement(), select); 140 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(correspondingElement(), select);
141 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(correspondingElement(), selectsta rt); 141 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(correspondingElement(), selectsta rt);
142 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(correspondingElement(), submit); 142 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(correspondingElement(), submit);
143 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(correspondingElement(), unload); 143 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(correspondingElement(), unload);
144 144
145 virtual void trace(Visitor*); 145 virtual void trace(Visitor*);
146 146
147 virtual void visitWith(Visitor* visitor) const OVERRIDE 147 virtual void adjustAndMark(Visitor* visitor) const OVERRIDE
148 { 148 {
149 visitor->visit(this); 149 visitor->mark(this);
150 } 150 }
151 151
152 private: 152 private:
153 friend class SVGUseElement; 153 friend class SVGUseElement;
154 154
155 SVGElementInstance(SVGUseElement*, SVGUseElement*, SVGElement* originalEleme nt); 155 SVGElementInstance(SVGUseElement*, SVGUseElement*, SVGElement* originalEleme nt);
156 156
157 bool hasTreeSharedParent() const { return !!m_parentInstance; } 157 bool hasTreeSharedParent() const { return !!m_parentInstance; }
158 158
159 virtual Node* toNode() { return shadowTreeElement(); } 159 virtual Node* toNode() { return shadowTreeElement(); }
(...skipping 29 matching lines...) Expand all
189 Member<SVGElementInstance> m_nextSibling; 189 Member<SVGElementInstance> m_nextSibling;
190 190
191 Member<SVGElementInstance> m_firstChild; 191 Member<SVGElementInstance> m_firstChild;
192 Member<SVGElementInstance> m_lastChild; 192 Member<SVGElementInstance> m_lastChild;
193 }; 193 };
194 194
195 } // namespace WebCore 195 } // namespace WebCore
196 196
197 #endif // ENABLE(SVG) 197 #endif // ENABLE(SVG)
198 #endif 198 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGElement.cpp ('k') | Source/core/workers/AbstractWorker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698