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

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: Created 7 years, 1 month 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
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 17 matching lines...) Expand all
28 #include "core/page/UseCounter.h" 28 #include "core/page/UseCounter.h"
29 #include "core/svg/SVGGlyphElement.h" 29 #include "core/svg/SVGGlyphElement.h"
30 #include "core/svg/SVGHKernElement.h" 30 #include "core/svg/SVGHKernElement.h"
31 #include "core/svg/SVGMissingGlyphElement.h" 31 #include "core/svg/SVGMissingGlyphElement.h"
32 #include "core/svg/SVGVKernElement.h" 32 #include "core/svg/SVGVKernElement.h"
33 #include "wtf/ASCIICType.h" 33 #include "wtf/ASCIICType.h"
34 34
35 namespace WebCore { 35 namespace WebCore {
36 36
37 // Animated property definitions 37 // Animated property definitions
38 DEFINE_ANIMATED_BOOLEAN(SVGFontElement, SVGNames::externalResourcesRequiredAttr, ExternalResourcesRequired, externalResourcesRequired)
39 38
40 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGFontElement) 39 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGFontElement)
41 REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired)
42 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGElement) 40 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGElement)
43 END_REGISTER_ANIMATED_PROPERTIES 41 END_REGISTER_ANIMATED_PROPERTIES
44 42
45 inline SVGFontElement::SVGFontElement(const QualifiedName& tagName, Document& do cument) 43 inline SVGFontElement::SVGFontElement(const QualifiedName& tagName, Document& do cument)
46 : SVGElement(tagName, document) 44 : SVGElement(tagName, document)
47 , m_missingGlyph(0) 45 , m_missingGlyph(0)
48 , m_isGlyphCacheValid(false) 46 , m_isGlyphCacheValid(false)
49 { 47 {
50 ASSERT(hasTagName(SVGNames::fontTag)); 48 ASSERT(hasTagName(SVGNames::fontTag));
51 ScriptWrappable::init(this); 49 ScriptWrappable::init(this);
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 250
253 Glyph SVGFontElement::missingGlyph() 251 Glyph SVGFontElement::missingGlyph()
254 { 252 {
255 ensureGlyphCache(); 253 ensureGlyphCache();
256 return m_missingGlyph; 254 return m_missingGlyph;
257 } 255 }
258 256
259 } 257 }
260 258
261 #endif // ENABLE(SVG_FONTS) 259 #endif // ENABLE(SVG_FONTS)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698