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

Side by Side Diff: Source/WebCore/svg/SVGAnimateTransformElement.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) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2008 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 18 matching lines...) Expand all
29 #include "SVGNames.h" 29 #include "SVGNames.h"
30 #include "SVGTransformable.h" 30 #include "SVGTransformable.h"
31 31
32 namespace WebCore { 32 namespace WebCore {
33 33
34 inline SVGAnimateTransformElement::SVGAnimateTransformElement(const QualifiedNam e& tagName, Document* document) 34 inline SVGAnimateTransformElement::SVGAnimateTransformElement(const QualifiedNam e& tagName, Document* document)
35 : SVGAnimateElement(tagName, document) 35 : SVGAnimateElement(tagName, document)
36 , m_type(SVGTransform::SVG_TRANSFORM_UNKNOWN) 36 , m_type(SVGTransform::SVG_TRANSFORM_UNKNOWN)
37 { 37 {
38 ASSERT(hasTagName(SVGNames::animateTransformTag)); 38 ASSERT(hasTagName(SVGNames::animateTransformTag));
39 ScriptWrappable::init(this);
39 } 40 }
40 41
41 PassRefPtr<SVGAnimateTransformElement> SVGAnimateTransformElement::create(const QualifiedName& tagName, Document* document) 42 PassRefPtr<SVGAnimateTransformElement> SVGAnimateTransformElement::create(const QualifiedName& tagName, Document* document)
42 { 43 {
43 return adoptRef(new SVGAnimateTransformElement(tagName, document)); 44 return adoptRef(new SVGAnimateTransformElement(tagName, document));
44 } 45 }
45 46
46 bool SVGAnimateTransformElement::hasValidAttributeType() 47 bool SVGAnimateTransformElement::hasValidAttributeType()
47 { 48 {
48 SVGElement* targetElement = this->targetElement(); 49 SVGElement* targetElement = this->targetElement();
(...skipping 24 matching lines...) Expand all
73 m_type = SVGTransform::SVG_TRANSFORM_UNKNOWN; 74 m_type = SVGTransform::SVG_TRANSFORM_UNKNOWN;
74 return; 75 return;
75 } 76 }
76 77
77 ASSERT_NOT_REACHED(); 78 ASSERT_NOT_REACHED();
78 } 79 }
79 80
80 } 81 }
81 82
82 #endif // ENABLE(SVG) 83 #endif // ENABLE(SVG)
OLDNEW
« no previous file with comments | « Source/WebCore/svg/SVGAnimateMotionElement.cpp ('k') | Source/WebCore/svg/SVGAnimationElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698