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

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

Issue 13814002: First part of work to move V8 binding integrity off of vtables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
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 30 matching lines...) Expand all
41 namespace WebCore { 41 namespace WebCore {
42 42
43 using namespace SVGNames; 43 using namespace SVGNames;
44 44
45 inline SVGAnimateMotionElement::SVGAnimateMotionElement(const QualifiedName& tag Name, Document* document) 45 inline SVGAnimateMotionElement::SVGAnimateMotionElement(const QualifiedName& tag Name, Document* document)
46 : SVGAnimationElement(tagName, document) 46 : SVGAnimationElement(tagName, document)
47 , m_hasToPointAtEndOfDuration(false) 47 , m_hasToPointAtEndOfDuration(false)
48 { 48 {
49 setCalcMode(CalcModePaced); 49 setCalcMode(CalcModePaced);
50 ASSERT(hasTagName(animateMotionTag)); 50 ASSERT(hasTagName(animateMotionTag));
51 ScriptWrappable::init(this);
51 } 52 }
52 53
53 PassRefPtr<SVGAnimateMotionElement> SVGAnimateMotionElement::create(const Qualif iedName& tagName, Document* document) 54 PassRefPtr<SVGAnimateMotionElement> SVGAnimateMotionElement::create(const Qualif iedName& tagName, Document* document)
54 { 55 {
55 return adoptRef(new SVGAnimateMotionElement(tagName, document)); 56 return adoptRef(new SVGAnimateMotionElement(tagName, document));
56 } 57 }
57 58
58 bool SVGAnimateMotionElement::hasValidAttributeType() 59 bool SVGAnimateMotionElement::hasValidAttributeType()
59 { 60 {
60 SVGElement* targetElement = this->targetElement(); 61 SVGElement* targetElement = this->targetElement();
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 void SVGAnimateMotionElement::updateAnimationMode() 329 void SVGAnimateMotionElement::updateAnimationMode()
329 { 330 {
330 if (!m_animationPath.isEmpty()) 331 if (!m_animationPath.isEmpty())
331 setAnimationMode(PathAnimation); 332 setAnimationMode(PathAnimation);
332 else 333 else
333 SVGAnimationElement::updateAnimationMode(); 334 SVGAnimationElement::updateAnimationMode();
334 } 335 }
335 336
336 } 337 }
337 #endif // ENABLE(SVG) 338 #endif // ENABLE(SVG)
OLDNEW
« no previous file with comments | « Source/WebCore/svg/SVGAnimateElement.cpp ('k') | Source/WebCore/svg/SVGAnimateTransformElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698