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

Side by Side Diff: Source/WebCore/svg/SVGGlyphElement.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/SVGGElement.cpp ('k') | Source/WebCore/svg/SVGGlyphRefElement.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, 2008 Nikolas Zimmermann <zimmermann@kde.org> 3 * Copyright (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
4 * Copyright (C) 2008 Rob Buis <buis@kde.org> 4 * Copyright (C) 2008 Rob Buis <buis@kde.org>
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 19 matching lines...) Expand all
30 #include "SVGFontFaceElement.h" 30 #include "SVGFontFaceElement.h"
31 #include "SVGNames.h" 31 #include "SVGNames.h"
32 #include "SVGPathUtilities.h" 32 #include "SVGPathUtilities.h"
33 33
34 namespace WebCore { 34 namespace WebCore {
35 35
36 inline SVGGlyphElement::SVGGlyphElement(const QualifiedName& tagName, Document* document) 36 inline SVGGlyphElement::SVGGlyphElement(const QualifiedName& tagName, Document* document)
37 : SVGStyledElement(tagName, document) 37 : SVGStyledElement(tagName, document)
38 { 38 {
39 ASSERT(hasTagName(SVGNames::glyphTag)); 39 ASSERT(hasTagName(SVGNames::glyphTag));
40 ScriptWrappable::init(this);
40 } 41 }
41 42
42 PassRefPtr<SVGGlyphElement> SVGGlyphElement::create(const QualifiedName& tagName , Document* document) 43 PassRefPtr<SVGGlyphElement> SVGGlyphElement::create(const QualifiedName& tagName , Document* document)
43 { 44 {
44 return adoptRef(new SVGGlyphElement(tagName, document)); 45 return adoptRef(new SVGGlyphElement(tagName, document));
45 } 46 }
46 47
47 void SVGGlyphElement::invalidateGlyphCache() 48 void SVGGlyphElement::invalidateGlyphCache()
48 { 49 {
49 ContainerNode* fontNode = parentNode(); 50 ContainerNode* fontNode = parentNode();
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 String language = fastGetAttribute(SVGNames::langAttr); 162 String language = fastGetAttribute(SVGNames::langAttr);
162 if (!language.isEmpty()) 163 if (!language.isEmpty())
163 identifier.languages = parseDelimitedString(language, ','); 164 identifier.languages = parseDelimitedString(language, ',');
164 165
165 return identifier; 166 return identifier;
166 } 167 }
167 168
168 } 169 }
169 170
170 #endif // ENABLE(SVG_FONTS) 171 #endif // ENABLE(SVG_FONTS)
OLDNEW
« no previous file with comments | « Source/WebCore/svg/SVGGElement.cpp ('k') | Source/WebCore/svg/SVGGlyphRefElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698