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

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

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 | « Source/core/svg/SVGRemoteFontFaceSource.h ('k') | no next file » | 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 #include "config.h" 5 #include "config.h"
6 #if ENABLE(SVG_FONTS) 6 #if ENABLE(SVG_FONTS)
7 #include "core/svg/SVGRemoteFontFaceSource.h" 7 #include "core/svg/SVGRemoteFontFaceSource.h"
8 8
9 #include "SVGNames.h" 9 #include "SVGNames.h"
10 #include "core/css/FontLoader.h" 10 #include "core/css/FontLoader.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 if (SVGFontFaceElement* fontFaceElement = Traversal<SVGFontFaceElement>::fir stChild(*m_externalSVGFontElement)) { 56 if (SVGFontFaceElement* fontFaceElement = Traversal<SVGFontFaceElement>::fir stChild(*m_externalSVGFontElement)) {
57 return SimpleFontData::create( 57 return SimpleFontData::create(
58 SVGFontData::create(fontFaceElement), 58 SVGFontData::create(fontFaceElement),
59 fontDescription.effectiveFontSize(), 59 fontDescription.effectiveFontSize(),
60 fontDescription.isSyntheticBold(), 60 fontDescription.isSyntheticBold(),
61 fontDescription.isSyntheticItalic()); 61 fontDescription.isSyntheticItalic());
62 } 62 }
63 return nullptr; 63 return nullptr;
64 } 64 }
65 65
66 void SVGRemoteFontFaceSource::trace(Visitor* visitor)
67 {
68 visitor->trace(m_externalSVGFontElement);
69 RemoteFontFaceSource::trace(visitor);
70 }
71
66 } // namespace WebCore 72 } // namespace WebCore
67 73
68 #endif // ENABLE(SVG_FONTS) 74 #endif // ENABLE(SVG_FONTS)
OLDNEW
« no previous file with comments | « Source/core/svg/SVGRemoteFontFaceSource.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698