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

Unified Diff: Source/platform/fonts/GlyphMetricsMap.h

Issue 858663002: Fix template angle bracket syntax in platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/fonts/FontDataCache.cpp ('k') | Source/platform/fonts/GlyphPageTreeNode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
}
« no previous file with comments | « Source/platform/fonts/FontDataCache.cpp ('k') | Source/platform/fonts/GlyphPageTreeNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698