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

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

Issue 189833009: Trace where timers were scheduled in Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 9 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/RenderText.cpp ('k') | Source/core/svg/animation/SMILTimeContainer.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) 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 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 // If the load event was not sent yet by Document::implicitClose(), but the <image> from the example 882 // If the load event was not sent yet by Document::implicitClose(), but the <image> from the example
883 // above, just appeared, don't send the SVGLoad event to the outermost < svg>, but wait for the document 883 // above, just appeared, don't send the SVGLoad event to the outermost < svg>, but wait for the document
884 // to be "ready to render", first. 884 // to be "ready to render", first.
885 if (!document().loadEventFinished()) 885 if (!document().loadEventFinished())
886 break; 886 break;
887 } 887 }
888 } 888 }
889 889
890 void SVGElement::sendSVGLoadEventIfPossibleAsynchronously() 890 void SVGElement::sendSVGLoadEventIfPossibleAsynchronously()
891 { 891 {
892 svgLoadEventTimer()->startOneShot(0); 892 svgLoadEventTimer()->startOneShot(0, FROM_HERE);
893 } 893 }
894 894
895 void SVGElement::svgLoadEventTimerFired(Timer<SVGElement>*) 895 void SVGElement::svgLoadEventTimerFired(Timer<SVGElement>*)
896 { 896 {
897 sendSVGLoadEventIfPossible(); 897 sendSVGLoadEventIfPossible();
898 } 898 }
899 899
900 Timer<SVGElement>* SVGElement::svgLoadEventTimer() 900 Timer<SVGElement>* SVGElement::svgLoadEventTimer()
901 { 901 {
902 ASSERT_NOT_REACHED(); 902 ASSERT_NOT_REACHED();
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
1133 animatableAttributes.add(SVGNames::zAttr); 1133 animatableAttributes.add(SVGNames::zAttr);
1134 } 1134 }
1135 1135
1136 if (name == classAttr) 1136 if (name == classAttr)
1137 return true; 1137 return true;
1138 1138
1139 return animatableAttributes.contains(name); 1139 return animatableAttributes.contains(name);
1140 } 1140 }
1141 #endif 1141 #endif
1142 } 1142 }
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderText.cpp ('k') | Source/core/svg/animation/SMILTimeContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698