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

Side by Side Diff: Source/core/svg/SVGFontFaceUriElement.h

Issue 463543002: Oilpan: Ensure that classes with virtual trace methods always have vtables for their left-most base… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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) 2007 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2007 Eric Seidel <eric@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 20 matching lines...) Expand all
31 class CSSFontFaceSrcValue; 31 class CSSFontFaceSrcValue;
32 32
33 class SVGFontFaceUriElement FINAL : public SVGElement, public FontResourceClient { 33 class SVGFontFaceUriElement FINAL : public SVGElement, public FontResourceClient {
34 public: 34 public:
35 DECLARE_NODE_FACTORY(SVGFontFaceUriElement); 35 DECLARE_NODE_FACTORY(SVGFontFaceUriElement);
36 36
37 virtual ~SVGFontFaceUriElement(); 37 virtual ~SVGFontFaceUriElement();
38 38
39 PassRefPtrWillBeRawPtr<CSSFontFaceSrcValue> srcValue() const; 39 PassRefPtrWillBeRawPtr<CSSFontFaceSrcValue> srcValue() const;
40 40
41 virtual void trace(Visitor* visitor) OVERRIDE
42 {
43 SVGElement::trace(visitor);
44 FontResourceClient::trace(visitor);
45 }
46
41 private: 47 private:
42 explicit SVGFontFaceUriElement(Document&); 48 explicit SVGFontFaceUriElement(Document&);
43 49
44 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 50 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
45 virtual void childrenChanged(const ChildrenChange&) OVERRIDE; 51 virtual void childrenChanged(const ChildrenChange&) OVERRIDE;
46 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 52 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
47 53
48 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } 54 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; }
49 55
50 void loadFont(); 56 void loadFont();
51 57
52 ResourcePtr<FontResource> m_resource; 58 ResourcePtr<FontResource> m_resource;
53 }; 59 };
54 60
55 } // namespace blink 61 } // namespace blink
56 62
57 #endif // ENABLE(SVG_FONTS) 63 #endif // ENABLE(SVG_FONTS)
58 #endif 64 #endif
59 65
60 // vim:ts=4:noet 66 // vim:ts=4:noet
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698