| Index: Source/platform/fonts/GlyphMetricsMap.h
|
| diff --git a/Source/platform/fonts/GlyphMetricsMap.h b/Source/platform/fonts/GlyphMetricsMap.h
|
| index 4f40e80bc09667b7248de347ac4ad359242e1ab1..3ab6ac6a139ef7bbc16946f9df89e6e6c3bc6258 100644
|
| --- a/Source/platform/fonts/GlyphMetricsMap.h
|
| +++ b/Source/platform/fonts/GlyphMetricsMap.h
|
| @@ -88,7 +88,7 @@ private:
|
|
|
| bool m_filledPrimaryPage;
|
| GlyphMetricsPage m_primaryPage; // We optimize for the page that contains glyph indices 0-255.
|
| - OwnPtr<HashMap<int, OwnPtr<GlyphMetricsPage> > > m_pages;
|
| + OwnPtr<HashMap<int, OwnPtr<GlyphMetricsPage>> > m_pages;
|
| };
|
|
|
| template<> inline float GlyphMetricsMap<float>::unknownMetrics()
|
| @@ -113,8 +113,9 @@ template<class T> typename GlyphMetricsMap<T>::GlyphMetricsPage* GlyphMetricsMap
|
| page = m_pages->get(pageNumber);
|
| if (page)
|
| return page;
|
| - } else
|
| - m_pages = adoptPtr(new HashMap<int, OwnPtr<GlyphMetricsPage> >);
|
| + } else {
|
| + m_pages = adoptPtr(new HashMap<int, OwnPtr<GlyphMetricsPage>>);
|
| + }
|
| page = new GlyphMetricsPage;
|
| m_pages->set(pageNumber, adoptPtr(page));
|
| }
|
|
|