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

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: 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
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 905 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 // If the load event was not sent yet by Document::implicitClose(), but the <image> from the example 916 // If the load event was not sent yet by Document::implicitClose(), but the <image> from the example
917 // above, just appeared, don't send the SVGLoad event to the outermost < svg>, but wait for the document 917 // above, just appeared, don't send the SVGLoad event to the outermost < svg>, but wait for the document
918 // to be "ready to render", first. 918 // to be "ready to render", first.
919 if (!document().loadEventFinished()) 919 if (!document().loadEventFinished())
920 break; 920 break;
921 } 921 }
922 } 922 }
923 923
924 void SVGElement::sendSVGLoadEventIfPossibleAsynchronously() 924 void SVGElement::sendSVGLoadEventIfPossibleAsynchronously()
925 { 925 {
926 svgLoadEventTimer()->startOneShot(0); 926 svgLoadEventTimer()->startOneShot(0, FROM_HERE);
927 } 927 }
928 928
929 void SVGElement::svgLoadEventTimerFired(Timer<SVGElement>*) 929 void SVGElement::svgLoadEventTimerFired(Timer<SVGElement>*)
930 { 930 {
931 sendSVGLoadEventIfPossible(); 931 sendSVGLoadEventIfPossible();
932 } 932 }
933 933
934 Timer<SVGElement>* SVGElement::svgLoadEventTimer() 934 Timer<SVGElement>* SVGElement::svgLoadEventTimer()
935 { 935 {
936 ASSERT_NOT_REACHED(); 936 ASSERT_NOT_REACHED();
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
1172 animatableAttributes.add(SVGNames::zAttr); 1172 animatableAttributes.add(SVGNames::zAttr);
1173 } 1173 }
1174 1174
1175 if (name == classAttr) 1175 if (name == classAttr)
1176 return true; 1176 return true;
1177 1177
1178 return animatableAttributes.contains(name); 1178 return animatableAttributes.contains(name);
1179 } 1179 }
1180 #endif 1180 #endif
1181 } 1181 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698