| Index: Source/core/css/CSSSegmentedFontFace.cpp
|
| diff --git a/Source/core/css/CSSSegmentedFontFace.cpp b/Source/core/css/CSSSegmentedFontFace.cpp
|
| index 82cfdfceb043efe0fa6c3decbafb550ec537ceef..60bc3c5a1288e80f1919a90dccab244300a7d10a 100644
|
| --- a/Source/core/css/CSSSegmentedFontFace.cpp
|
| +++ b/Source/core/css/CSSSegmentedFontFace.cpp
|
| @@ -194,4 +194,16 @@ void CSSSegmentedFontFace::loadFont(const FontDescription& fontDescription, Pass
|
| }
|
| }
|
|
|
| +Vector<RefPtr<FontFace> > CSSSegmentedFontFace::fontFaces() const
|
| +{
|
| + Vector<RefPtr<FontFace> > fontFaces;
|
| + unsigned size = m_fontFaces.size();
|
| + for (unsigned i = 0; i < size; i++) {
|
| + RefPtr<FontFace> face = m_fontFaces[i]->fontFace();
|
| + if (face)
|
| + fontFaces.append(face);
|
| + }
|
| + return fontFaces;
|
| +}
|
| +
|
| }
|
|
|