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

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

Issue 2813413002: Rewrite references to "wtf/" to "platform/wtf/" in core/svg. (Closed)
Patch Set: Created 3 years, 8 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 11 matching lines...) Expand all
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
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
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGAngle.cpp ('k') | third_party/WebKit/Source/core/svg/SVGAnimationElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698