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

Unified Diff: Source/core/css/FontFaceSet.cpp

Issue 989173003: Fix template angle bracket syntax in css (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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/core/css/FontFaceSet.h ('k') | Source/core/css/MediaList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/FontFaceSet.cpp
diff --git a/Source/core/css/FontFaceSet.cpp b/Source/core/css/FontFaceSet.cpp
index 3d1a18d16a9658e802299bfc558bc732b6dbc5a1..254cdac51000c3a1566dc04d9310cb15d62f2a8c 100644
--- a/Source/core/css/FontFaceSet.cpp
+++ b/Source/core/css/FontFaceSet.cpp
@@ -72,7 +72,7 @@ private:
m_fontFaces.swap(faces);
}
- WillBeHeapVector<RefPtrWillBeMember<FontFace> > m_fontFaces;
+ WillBeHeapVector<RefPtrWillBeMember<FontFace>> m_fontFaces;
int m_numLoading;
bool m_errorOccured;
RefPtrWillBeMember<ScriptPromiseResolver> m_resolver;
@@ -324,7 +324,7 @@ bool FontFaceSet::remove(FontFace* fontFace, ExceptionState& exceptionState)
exceptionState.throwTypeError("The argument is not a FontFace.");
return false;
}
- WillBeHeapListHashSet<RefPtrWillBeMember<FontFace> >::iterator it = m_nonCSSConnectedFaces.find(fontFace);
+ WillBeHeapListHashSet<RefPtrWillBeMember<FontFace>>::iterator it = m_nonCSSConnectedFaces.find(fontFace);
if (it != m_nonCSSConnectedFaces.end()) {
m_nonCSSConnectedFaces.remove(it);
CSSFontSelector* fontSelector = document()->styleEngine().fontSelector();
@@ -350,7 +350,7 @@ bool FontFaceSet::has(FontFace* fontFace, ExceptionState& exceptionState) const
return m_nonCSSConnectedFaces.contains(fontFace) || isCSSConnectedFontFace(fontFace);
}
-const WillBeHeapListHashSet<RefPtrWillBeMember<FontFace> >& FontFaceSet::cssConnectedFontFaceList() const
+const WillBeHeapListHashSet<RefPtrWillBeMember<FontFace>>& FontFaceSet::cssConnectedFontFaceList() const
{
Document* d = document();
d->ensureStyleResolver(); // Flush pending style changes.
@@ -376,8 +376,8 @@ void FontFaceSet::forEachInternal(FontFaceSetForEachCallback* callback, const Sc
{
if (!inActiveDocumentContext())
return;
- const WillBeHeapListHashSet<RefPtrWillBeMember<FontFace> >& cssConnectedFaces = cssConnectedFontFaceList();
- WillBeHeapVector<RefPtrWillBeMember<FontFace> > fontFaces;
+ const WillBeHeapListHashSet<RefPtrWillBeMember<FontFace>>& cssConnectedFaces = cssConnectedFontFaceList();
+ WillBeHeapVector<RefPtrWillBeMember<FontFace>> fontFaces;
fontFaces.reserveInitialCapacity(cssConnectedFaces.size() + m_nonCSSConnectedFaces.size());
for (const auto& fontFace : cssConnectedFaces)
fontFaces.append(fontFace);
@@ -429,7 +429,7 @@ void FontFaceSet::fireDoneEventIfPossible()
}
if (!m_readyResolvers.isEmpty()) {
- WillBeHeapVector<OwnPtrWillBeMember<FontsReadyPromiseResolver> > resolvers;
+ WillBeHeapVector<OwnPtrWillBeMember<FontsReadyPromiseResolver>> resolvers;
m_readyResolvers.swap(resolvers);
for (size_t index = 0; index < resolvers.size(); ++index)
resolvers[index]->resolve(this);
« no previous file with comments | « Source/core/css/FontFaceSet.h ('k') | Source/core/css/MediaList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698