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

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

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/page/Performance.h ('k') | Source/core/svg/SVGElementInstance.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) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org> 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org>
3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org>
4 * Copyright (C) 2008 Apple Inc. All rights reserved. 4 * Copyright (C) 2008 Apple Inc. All rights reserved.
5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com>
6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> 6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au>
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 420
421 data->eventListenerMap.removeFirstEventListenerCreatedFromMarkup(eventTy pe); 421 data->eventListenerMap.removeFirstEventListenerCreatedFromMarkup(eventTy pe);
422 } 422 }
423 423
424 return true; 424 return true;
425 } 425 }
426 426
427 void SVGElement::trace(Visitor* visitor) 427 void SVGElement::trace(Visitor* visitor)
428 { 428 {
429 StyledElement::trace(visitor); 429 StyledElement::trace(visitor);
430 // SVGElementRareData is visited through SVGElementRareData::rareDataMap() w hich is a GC root. 430 // SVGElementRareData is traced through SVGElementRareData::rareDataMap() wh ich is a GC root.
431 } 431 }
432 432
433 static bool hasLoadListener(Element* element) 433 static bool hasLoadListener(Element* element)
434 { 434 {
435 if (element->hasEventListeners(eventNames().loadEvent)) 435 if (element->hasEventListeners(eventNames().loadEvent))
436 return true; 436 return true;
437 437
438 Element* current = element; 438 Element* current = element;
439 for (current = current->parentOrShadowHostElement(); current; current = curr ent->parentOrShadowHostElement()) { 439 for (current = current->parentOrShadowHostElement(); current; current = curr ent->parentOrShadowHostElement()) {
440 const EventListenerVector& entry = current->getEventListeners(eventNames ().loadEvent); 440 const EventListenerVector& entry = current->getEventListeners(eventNames ().loadEvent);
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 if (name == classAttr) 725 if (name == classAttr)
726 return isSVGStyledElement(); 726 return isSVGStyledElement();
727 727
728 return animatableAttributes.contains(name); 728 return animatableAttributes.contains(name);
729 } 729 }
730 #endif 730 #endif
731 731
732 } 732 }
733 733
734 #endif // ENABLE(SVG) 734 #endif // ENABLE(SVG)
OLDNEW
« no previous file with comments | « Source/core/page/Performance.h ('k') | Source/core/svg/SVGElementInstance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698