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

Side by Side Diff: Source/core/svg/SVGDocumentExtensions.cpp

Issue 287383004: Use arrow operator for iterators instead of asterisk-parentheses-dot (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/rendering/RenderBlockLineLayout.cpp ('k') | Source/core/svg/SVGFilterElement.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 (C) 2006 Apple Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> 3 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org>
4 * Copyright (C) 2007 Rob Buis <buis@kde.org> 4 * Copyright (C) 2007 Rob Buis <buis@kde.org>
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 (*itr)->pauseAnimations(); 122 (*itr)->pauseAnimations();
123 } 123 }
124 124
125 void SVGDocumentExtensions::dispatchSVGLoadEventToOutermostSVGElements() 125 void SVGDocumentExtensions::dispatchSVGLoadEventToOutermostSVGElements()
126 { 126 {
127 WillBeHeapVector<RefPtrWillBeMember<SVGSVGElement> > timeContainers; 127 WillBeHeapVector<RefPtrWillBeMember<SVGSVGElement> > timeContainers;
128 timeContainers.appendRange(m_timeContainers.begin(), m_timeContainers.end()) ; 128 timeContainers.appendRange(m_timeContainers.begin(), m_timeContainers.end()) ;
129 129
130 WillBeHeapVector<RefPtrWillBeMember<SVGSVGElement> >::iterator end = timeCon tainers.end(); 130 WillBeHeapVector<RefPtrWillBeMember<SVGSVGElement> >::iterator end = timeCon tainers.end();
131 for (WillBeHeapVector<RefPtrWillBeMember<SVGSVGElement> >::iterator it = tim eContainers.begin(); it != end; ++it) { 131 for (WillBeHeapVector<RefPtrWillBeMember<SVGSVGElement> >::iterator it = tim eContainers.begin(); it != end; ++it) {
132 SVGSVGElement* outerSVG = (*it).get(); 132 SVGSVGElement* outerSVG = it->get();
133 if (!outerSVG->isOutermostSVGSVGElement()) 133 if (!outerSVG->isOutermostSVGSVGElement())
134 continue; 134 continue;
135 135
136 // don't dispatch the load event document is not wellformed (for XML/sta ndalone svg) 136 // don't dispatch the load event document is not wellformed (for XML/sta ndalone svg)
137 if (outerSVG->document().wellFormed() || !outerSVG->document().isSVGDocu ment()) 137 if (outerSVG->document().wellFormed() || !outerSVG->document().isSVGDocu ment())
138 outerSVG->sendSVGLoadEventIfPossible(); 138 outerSVG->sendSVGLoadEventIfPossible();
139 } 139 }
140 } 140 }
141 141
142 static void reportMessage(Document* document, MessageLevel level, const String& message) 142 static void reportMessage(Document* document, MessageLevel level, const String& message)
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 } 476 }
477 477
478 void SVGDocumentExtensions::trace(Visitor* visitor) 478 void SVGDocumentExtensions::trace(Visitor* visitor)
479 { 479 {
480 visitor->trace(m_timeContainers); 480 visitor->trace(m_timeContainers);
481 visitor->trace(m_svgFontFaceElements); 481 visitor->trace(m_svgFontFaceElements);
482 visitor->trace(m_pendingSVGFontFaceElementsForRemoval); 482 visitor->trace(m_pendingSVGFontFaceElementsForRemoval);
483 } 483 }
484 484
485 } 485 }
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderBlockLineLayout.cpp ('k') | Source/core/svg/SVGFilterElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698