| Index: Source/platform/fonts/win/FontCacheSkiaWin.cpp
|
| diff --git a/Source/platform/fonts/win/FontCacheSkiaWin.cpp b/Source/platform/fonts/win/FontCacheSkiaWin.cpp
|
| index 896e7d1c7d103af31eeb06a82b7d1786ee8d0d14..d7883bf3a456e60e7890b99869fac710c5af6df0 100644
|
| --- a/Source/platform/fonts/win/FontCacheSkiaWin.cpp
|
| +++ b/Source/platform/fonts/win/FontCacheSkiaWin.cpp
|
| @@ -43,7 +43,7 @@
|
|
|
| namespace blink {
|
|
|
| -HashMap<String, RefPtr<SkTypeface> >* FontCache::s_sideloadedFonts = 0;
|
| +HashMap<String, RefPtr<SkTypeface>>* FontCache::s_sideloadedFonts = 0;
|
|
|
| // Cached system font metrics.
|
| AtomicString* FontCache::s_menuFontFamilyName = 0;
|
| @@ -68,7 +68,7 @@ int32_t ensureMinimumFontHeightIfNeeded(int32_t fontHeight)
|
| void FontCache::addSideloadedFontForTesting(SkTypeface* typeface)
|
| {
|
| if (!s_sideloadedFonts)
|
| - s_sideloadedFonts = new HashMap<String, RefPtr<SkTypeface> >;
|
| + s_sideloadedFonts = new HashMap<String, RefPtr<SkTypeface>>;
|
| SkString name;
|
| typeface->getFamilyName(&name);
|
| s_sideloadedFonts->set(name.c_str(), adoptRef(typeface));
|
|
|