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

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

Issue 298863009: Oilpan: add SVGRemoteFontFaceSource::trace(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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 | « no previous file | Source/core/svg/SVGRemoteFontFaceSource.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SVGRemoteFontFaceSource_h 5 #ifndef SVGRemoteFontFaceSource_h
6 #define SVGRemoteFontFaceSource_h 6 #define SVGRemoteFontFaceSource_h
7 7
8 #if ENABLE(SVG_FONTS) 8 #if ENABLE(SVG_FONTS)
9 9
10 #include "core/css/RemoteFontFaceSource.h" 10 #include "core/css/RemoteFontFaceSource.h"
11 #include "platform/heap/Handle.h" 11 #include "platform/heap/Handle.h"
12 12
13 namespace WebCore { 13 namespace WebCore {
14 14
15 class SVGFontElement; 15 class SVGFontElement;
16 16
17 class SVGRemoteFontFaceSource : public RemoteFontFaceSource { 17 class SVGRemoteFontFaceSource : public RemoteFontFaceSource {
18 public: 18 public:
19 SVGRemoteFontFaceSource(const String& uri, FontResource*, PassRefPtrWillBeRa wPtr<FontLoader>); 19 SVGRemoteFontFaceSource(const String& uri, FontResource*, PassRefPtrWillBeRa wPtr<FontLoader>);
20 ~SVGRemoteFontFaceSource(); 20 ~SVGRemoteFontFaceSource();
21 virtual bool isSVGFontFaceSource() const OVERRIDE { return true; } 21 virtual bool isSVGFontFaceSource() const OVERRIDE { return true; }
22 virtual bool ensureFontData() OVERRIDE; 22 virtual bool ensureFontData() OVERRIDE;
23 23
24 virtual void trace(Visitor*) OVERRIDE;
25
24 private: 26 private:
25 virtual PassRefPtr<SimpleFontData> createFontData(const FontDescription&) OV ERRIDE; 27 virtual PassRefPtr<SimpleFontData> createFontData(const FontDescription&) OV ERRIDE;
26 28
27 String m_uri; 29 String m_uri;
28 RefPtrWillBePersistent<SVGFontElement> m_externalSVGFontElement; 30 RefPtrWillBeMember<SVGFontElement> m_externalSVGFontElement;
29 }; 31 };
30 32
31 } // namespace WebCore 33 } // namespace WebCore
32 34
33 #endif // ENABLE(SVG_FONTS) 35 #endif // ENABLE(SVG_FONTS)
34 #endif 36 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/svg/SVGRemoteFontFaceSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698