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

Side by Side Diff: Source/core/svg/animation/SVGSMILElement.cpp

Issue 304453002: Prepare SMILTimeContainer for oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix_compile2 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 SVGSMILElement::~SVGSMILElement() 198 SVGSMILElement::~SVGSMILElement()
199 { 199 {
200 #if !ENABLE(OILPAN) 200 #if !ENABLE(OILPAN)
201 clearResourceAndEventBaseReferences(); 201 clearResourceAndEventBaseReferences();
202 #endif 202 #endif
203 smilEndEventSender().cancelEvent(this); 203 smilEndEventSender().cancelEvent(this);
204 smilBeginEventSender().cancelEvent(this); 204 smilBeginEventSender().cancelEvent(this);
205 smilRepeatEventSender().cancelEvent(this); 205 smilRepeatEventSender().cancelEvent(this);
206 smilRepeatNEventSender().cancelEvent(this); 206 smilRepeatNEventSender().cancelEvent(this);
207 #if !ENABLE(OILPAN) 207 #if !ENABLE(OILPAN)
208 // FIXME: Oilpan: Clear |m_syncBaseDependents| using weak processing.
208 clearConditions(); 209 clearConditions();
210
209 if (m_timeContainer && m_targetElement && hasValidAttributeName()) 211 if (m_timeContainer && m_targetElement && hasValidAttributeName())
210 m_timeContainer->unschedule(this, m_targetElement, m_attributeName); 212 m_timeContainer->unschedule(this, m_targetElement, m_attributeName);
211 #endif 213 #endif
212 } 214 }
213 215
214 void SVGSMILElement::clearResourceAndEventBaseReferences() 216 void SVGSMILElement::clearResourceAndEventBaseReferences()
215 { 217 {
216 document().accessSVGExtensions().removeAllTargetReferencesForElement(this); 218 document().accessSVGExtensions().removeAllTargetReferencesForElement(this);
217 } 219 }
218 220
(...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1342 } 1344 }
1343 1345
1344 void SVGSMILElement::Condition::trace(Visitor* visitor) 1346 void SVGSMILElement::Condition::trace(Visitor* visitor)
1345 { 1347 {
1346 visitor->trace(m_syncBase); 1348 visitor->trace(m_syncBase);
1347 } 1349 }
1348 1350
1349 void SVGSMILElement::trace(Visitor* visitor) 1351 void SVGSMILElement::trace(Visitor* visitor)
1350 { 1352 {
1351 visitor->trace(m_targetElement); 1353 visitor->trace(m_targetElement);
1354 visitor->trace(m_timeContainer);
1352 visitor->trace(m_conditions); 1355 visitor->trace(m_conditions);
1353 visitor->trace(m_syncBaseDependents); 1356 visitor->trace(m_syncBaseDependents);
1354 SVGElement::trace(visitor); 1357 SVGElement::trace(visitor);
1355 } 1358 }
1356 1359
1357 } 1360 }
OLDNEW
« Source/core/svg/animation/SMILTimeContainer.cpp ('K') | « Source/core/svg/animation/SVGSMILElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698