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

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

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 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
« no previous file with comments | « Source/core/svg/SVGAnimateElement.cpp ('k') | Source/core/svg/SVGAnimateTransformElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 27 matching lines...) Expand all
38 38
39 namespace blink { 39 namespace blink {
40 40
41 using namespace SVGNames; 41 using namespace SVGNames;
42 42
43 inline SVGAnimateMotionElement::SVGAnimateMotionElement(Document& document) 43 inline SVGAnimateMotionElement::SVGAnimateMotionElement(Document& document)
44 : SVGAnimationElement(animateMotionTag, document) 44 : SVGAnimationElement(animateMotionTag, document)
45 , m_hasToPointAtEndOfDuration(false) 45 , m_hasToPointAtEndOfDuration(false)
46 { 46 {
47 setCalcMode(CalcModePaced); 47 setCalcMode(CalcModePaced);
48 ScriptWrappable::init(this);
49 } 48 }
50 49
51 DEFINE_NODE_FACTORY(SVGAnimateMotionElement) 50 DEFINE_NODE_FACTORY(SVGAnimateMotionElement)
52 51
53 SVGAnimateMotionElement::~SVGAnimateMotionElement() 52 SVGAnimateMotionElement::~SVGAnimateMotionElement()
54 { 53 {
55 } 54 }
56 55
57 bool SVGAnimateMotionElement::hasValidAttributeType() 56 bool SVGAnimateMotionElement::hasValidAttributeType()
58 { 57 {
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 320
322 void SVGAnimateMotionElement::updateAnimationMode() 321 void SVGAnimateMotionElement::updateAnimationMode()
323 { 322 {
324 if (!m_animationPath.isEmpty()) 323 if (!m_animationPath.isEmpty())
325 setAnimationMode(PathAnimation); 324 setAnimationMode(PathAnimation);
326 else 325 else
327 SVGAnimationElement::updateAnimationMode(); 326 SVGAnimationElement::updateAnimationMode();
328 } 327 }
329 328
330 } 329 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGAnimateElement.cpp ('k') | Source/core/svg/SVGAnimateTransformElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698