| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
| 3 * Copyright (C) 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2007 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "core/svg/SVGAnimateMotionElement.h" | 22 #include "core/svg/SVGAnimateMotionElement.h" |
| 23 | 23 |
| 24 #include "core/SVGNames.h" | 24 #include "core/SVGNames.h" |
| 25 #include "core/dom/ElementTraversal.h" | 25 #include "core/dom/ElementTraversal.h" |
| 26 #include "core/layout/LayoutObject.h" | 26 #include "core/layout/LayoutObject.h" |
| 27 #include "core/svg/SVGMPathElement.h" | 27 #include "core/svg/SVGMPathElement.h" |
| 28 #include "core/svg/SVGParserUtilities.h" | 28 #include "core/svg/SVGParserUtilities.h" |
| 29 #include "core/svg/SVGPathElement.h" | 29 #include "core/svg/SVGPathElement.h" |
| 30 #include "core/svg/SVGPathUtilities.h" | 30 #include "core/svg/SVGPathUtilities.h" |
| 31 #include "platform/transforms/AffineTransform.h" | 31 #include "platform/transforms/AffineTransform.h" |
| 32 #include "wtf/MathExtras.h" | 32 #include "platform/wtf/MathExtras.h" |
| 33 #include "wtf/StdLibExtras.h" | 33 #include "platform/wtf/StdLibExtras.h" |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 namespace { | 37 namespace { |
| 38 | 38 |
| 39 bool TargetCanHaveMotionTransform(const SVGElement& target) { | 39 bool TargetCanHaveMotionTransform(const SVGElement& target) { |
| 40 // We don't have a special attribute name to verify the animation type. Check | 40 // We don't have a special attribute name to verify the animation type. Check |
| 41 // the element name instead. | 41 // the element name instead. |
| 42 if (!target.IsSVGGraphicsElement()) | 42 if (!target.IsSVGGraphicsElement()) |
| 43 return false; | 43 return false; |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 LayoutObject& object) { | 303 LayoutObject& object) { |
| 304 object.SetNeedsTransformUpdate(); | 304 object.SetNeedsTransformUpdate(); |
| 305 if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()) { | 305 if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()) { |
| 306 // The transform paint property relies on the SVG transform value. | 306 // The transform paint property relies on the SVG transform value. |
| 307 object.SetNeedsPaintPropertyUpdate(); | 307 object.SetNeedsPaintPropertyUpdate(); |
| 308 } | 308 } |
| 309 MarkForLayoutAndParentResourceInvalidation(&object); | 309 MarkForLayoutAndParentResourceInvalidation(&object); |
| 310 } | 310 } |
| 311 | 311 |
| 312 } // namespace blink | 312 } // namespace blink |
| OLD | NEW |