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

Side by Side Diff: Source/WebCore/svg/SVGGlyphRefElement.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
« no previous file with comments | « Source/WebCore/svg/SVGGlyphElement.cpp ('k') | Source/WebCore/svg/SVGGradientElement.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) 2011 Leo Yang <leoyang@webkit.org> 2 * Copyright (C) 2011 Leo Yang <leoyang@webkit.org>
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 28 matching lines...) Expand all
39 END_REGISTER_ANIMATED_PROPERTIES 39 END_REGISTER_ANIMATED_PROPERTIES
40 40
41 inline SVGGlyphRefElement::SVGGlyphRefElement(const QualifiedName& tagName, Docu ment* document) 41 inline SVGGlyphRefElement::SVGGlyphRefElement(const QualifiedName& tagName, Docu ment* document)
42 : SVGStyledElement(tagName, document) 42 : SVGStyledElement(tagName, document)
43 , m_x(0) 43 , m_x(0)
44 , m_y(0) 44 , m_y(0)
45 , m_dx(0) 45 , m_dx(0)
46 , m_dy(0) 46 , m_dy(0)
47 { 47 {
48 ASSERT(hasTagName(SVGNames::glyphRefTag)); 48 ASSERT(hasTagName(SVGNames::glyphRefTag));
49 ScriptWrappable::init(this);
49 registerAnimatedPropertiesForSVGGlyphRefElement(); 50 registerAnimatedPropertiesForSVGGlyphRefElement();
50 } 51 }
51 52
52 PassRefPtr<SVGGlyphRefElement> SVGGlyphRefElement::create(const QualifiedName& t agName, Document* document) 53 PassRefPtr<SVGGlyphRefElement> SVGGlyphRefElement::create(const QualifiedName& t agName, Document* document)
53 { 54 {
54 return adoptRef(new SVGGlyphRefElement(tagName, document)); 55 return adoptRef(new SVGGlyphRefElement(tagName, document));
55 } 56 }
56 57
57 bool SVGGlyphRefElement::hasValidGlyphElement(String& glyphName) const 58 bool SVGGlyphRefElement::hasValidGlyphElement(String& glyphName) const
58 { 59 {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 void SVGGlyphRefElement::setDy(float dy, ExceptionCode&) 121 void SVGGlyphRefElement::setDy(float dy, ExceptionCode&)
121 { 122 {
122 // FIXME: Honor attribute change. 123 // FIXME: Honor attribute change.
123 // https://bugs.webkit.org/show_bug.cgi?id=64787 124 // https://bugs.webkit.org/show_bug.cgi?id=64787
124 m_dy = dy; 125 m_dy = dy;
125 } 126 }
126 127
127 } 128 }
128 129
129 #endif 130 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/svg/SVGGlyphElement.cpp ('k') | Source/WebCore/svg/SVGGradientElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698