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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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
OLDNEW
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 return isSVGGElement(target) || isSVGDefsElement(target) || 47 return isSVGGElement(target) || isSVGDefsElement(target) ||
48 isSVGUseElement(target) || isSVGImageElement(target) || 48 isSVGUseElement(target) || isSVGImageElement(target) ||
49 isSVGSwitchElement(target) || isSVGPathElement(target) || 49 isSVGSwitchElement(target) || isSVGPathElement(target) ||
50 isSVGRectElement(target) || isSVGCircleElement(target) || 50 isSVGRectElement(target) || isSVGCircleElement(target) ||
51 isSVGEllipseElement(target) || isSVGLineElement(target) || 51 isSVGEllipseElement(target) || isSVGLineElement(target) ||
52 isSVGPolylineElement(target) || isSVGPolygonElement(target) || 52 isSVGPolylineElement(target) || isSVGPolygonElement(target) ||
53 isSVGTextElement(target) || isSVGClipPathElement(target) || 53 isSVGTextElement(target) || isSVGClipPathElement(target) ||
54 isSVGMaskElement(target) || isSVGAElement(target) || 54 isSVGMaskElement(target) || isSVGAElement(target) ||
55 isSVGForeignObjectElement(target); 55 isSVGForeignObjectElement(target);
56 } 56 }
57 } 57 } // namespace
58 58
59 inline SVGAnimateMotionElement::SVGAnimateMotionElement(Document& document) 59 inline SVGAnimateMotionElement::SVGAnimateMotionElement(Document& document)
60 : SVGAnimationElement(SVGNames::animateMotionTag, document), 60 : SVGAnimationElement(SVGNames::animateMotionTag, document),
61 has_to_point_at_end_of_duration_(false) { 61 has_to_point_at_end_of_duration_(false) {
62 SetCalcMode(kCalcModePaced); 62 SetCalcMode(kCalcModePaced);
63 } 63 }
64 64
65 DEFINE_NODE_FACTORY(SVGAnimateMotionElement) 65 DEFINE_NODE_FACTORY(SVGAnimateMotionElement)
66 66
67 SVGAnimateMotionElement::~SVGAnimateMotionElement() {} 67 SVGAnimateMotionElement::~SVGAnimateMotionElement() {}
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698