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

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

Issue 62083002: Remove support for the externalResourcesRequired attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaseline test Created 6 years, 11 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
« no previous file with comments | « Source/core/svg/SVGFontElement.h ('k') | Source/core/svg/SVGForeignObjectElement.h » ('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 Nikolas Zimmermann <zimmermann@kde.org> 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org>
4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2010. 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 16 matching lines...) Expand all
27 #include "core/frame/UseCounter.h" 27 #include "core/frame/UseCounter.h"
28 #include "core/svg/SVGGlyphElement.h" 28 #include "core/svg/SVGGlyphElement.h"
29 #include "core/svg/SVGHKernElement.h" 29 #include "core/svg/SVGHKernElement.h"
30 #include "core/svg/SVGMissingGlyphElement.h" 30 #include "core/svg/SVGMissingGlyphElement.h"
31 #include "core/svg/SVGVKernElement.h" 31 #include "core/svg/SVGVKernElement.h"
32 #include "wtf/ASCIICType.h" 32 #include "wtf/ASCIICType.h"
33 33
34 namespace WebCore { 34 namespace WebCore {
35 35
36 // Animated property definitions 36 // Animated property definitions
37 DEFINE_ANIMATED_BOOLEAN(SVGFontElement, SVGNames::externalResourcesRequiredAttr, ExternalResourcesRequired, externalResourcesRequired)
38 37
39 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGFontElement) 38 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGFontElement)
40 REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired)
41 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGElement) 39 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGElement)
42 END_REGISTER_ANIMATED_PROPERTIES 40 END_REGISTER_ANIMATED_PROPERTIES
43 41
44 inline SVGFontElement::SVGFontElement(Document& document) 42 inline SVGFontElement::SVGFontElement(Document& document)
45 : SVGElement(SVGNames::fontTag, document) 43 : SVGElement(SVGNames::fontTag, document)
46 , m_missingGlyph(0) 44 , m_missingGlyph(0)
47 , m_isGlyphCacheValid(false) 45 , m_isGlyphCacheValid(false)
48 { 46 {
49 ScriptWrappable::init(this); 47 ScriptWrappable::init(this);
50 registerAnimatedPropertiesForSVGFontElement(); 48 registerAnimatedPropertiesForSVGFontElement();
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 248
251 Glyph SVGFontElement::missingGlyph() 249 Glyph SVGFontElement::missingGlyph()
252 { 250 {
253 ensureGlyphCache(); 251 ensureGlyphCache();
254 return m_missingGlyph; 252 return m_missingGlyph;
255 } 253 }
256 254
257 } 255 }
258 256
259 #endif // ENABLE(SVG_FONTS) 257 #endif // ENABLE(SVG_FONTS)
OLDNEW
« no previous file with comments | « Source/core/svg/SVGFontElement.h ('k') | Source/core/svg/SVGForeignObjectElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698