| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2007 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2014 Google, Inc. | 5 * Copyright (C) 2014 Google, Inc. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 SVGDocumentExtensions& svgExtensions = document().accessSVGExtensions(); | 548 SVGDocumentExtensions& svgExtensions = document().accessSVGExtensions(); |
| 549 svgExtensions.removeTimeContainer(this); | 549 svgExtensions.removeTimeContainer(this); |
| 550 svgExtensions.removeSVGRootWithRelativeLengthDescendents(this); | 550 svgExtensions.removeSVGRootWithRelativeLengthDescendents(this); |
| 551 } | 551 } |
| 552 | 552 |
| 553 SVGGraphicsElement::removedFrom(rootParent); | 553 SVGGraphicsElement::removedFrom(rootParent); |
| 554 } | 554 } |
| 555 | 555 |
| 556 void SVGSVGElement::pauseAnimations() | 556 void SVGSVGElement::pauseAnimations() |
| 557 { | 557 { |
| 558 if (!m_timeContainer->isPaused()) | 558 if (!m_timeContainer->isPaused() || m_timeContainer->isFrozen()) |
| 559 m_timeContainer->pause(); | 559 m_timeContainer->pause(); |
| 560 } | 560 } |
| 561 | 561 |
| 562 void SVGSVGElement::unpauseAnimations() | 562 void SVGSVGElement::unpauseAnimations() |
| 563 { | 563 { |
| 564 if (m_timeContainer->isPaused()) | 564 if (m_timeContainer->isPaused()) |
| 565 m_timeContainer->resume(); | 565 m_timeContainer->resume(); |
| 566 } | 566 } |
| 567 | 567 |
| 568 bool SVGSVGElement::animationsPaused() const | 568 bool SVGSVGElement::animationsPaused() const |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 763 visitor->trace(m_width); | 763 visitor->trace(m_width); |
| 764 visitor->trace(m_height); | 764 visitor->trace(m_height); |
| 765 visitor->trace(m_translation); | 765 visitor->trace(m_translation); |
| 766 visitor->trace(m_timeContainer); | 766 visitor->trace(m_timeContainer); |
| 767 visitor->trace(m_viewSpec); | 767 visitor->trace(m_viewSpec); |
| 768 SVGGraphicsElement::trace(visitor); | 768 SVGGraphicsElement::trace(visitor); |
| 769 SVGFitToViewBox::trace(visitor); | 769 SVGFitToViewBox::trace(visitor); |
| 770 } | 770 } |
| 771 | 771 |
| 772 } // namespace blink | 772 } // namespace blink |
| OLD | NEW |