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

Unified Diff: Source/core/html/track/vtt/VTTScanner.h

Issue 656723005: Use C++11 features in core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: mike's comments Created 6 years, 1 month 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/html/track/vtt/VTTRegionList.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/vtt/VTTScanner.h
diff --git a/Source/core/html/track/vtt/VTTScanner.h b/Source/core/html/track/vtt/VTTScanner.h
index ec9f7bf5bfe6c81775cd2cbed426cce5131b4cfa..7f193149af6ed131900b98e4ab5f5d7728401955 100644
--- a/Source/core/html/track/vtt/VTTScanner.h
+++ b/Source/core/html/track/vtt/VTTScanner.h
@@ -167,7 +167,7 @@ template<bool characterPredicate(UChar)>
inline void VTTScanner::skipWhile()
{
if (m_is8Bit)
- ::skipWhile<LChar, LCharPredicateAdapter<characterPredicate> >(m_data.characters8, m_end.characters8);
+ ::skipWhile<LChar, LCharPredicateAdapter<characterPredicate>>(m_data.characters8, m_end.characters8);
else
::skipWhile<UChar, characterPredicate>(m_data.characters16, m_end.characters16);
}
@@ -176,7 +176,7 @@ template<bool characterPredicate(UChar)>
inline void VTTScanner::skipUntil()
{
if (m_is8Bit)
- ::skipUntil<LChar, LCharPredicateAdapter<characterPredicate> >(m_data.characters8, m_end.characters8);
+ ::skipUntil<LChar, LCharPredicateAdapter<characterPredicate>>(m_data.characters8, m_end.characters8);
else
::skipUntil<UChar, characterPredicate>(m_data.characters16, m_end.characters16);
}
@@ -186,7 +186,7 @@ inline VTTScanner::Run VTTScanner::collectWhile()
{
if (m_is8Bit) {
const LChar* current = m_data.characters8;
- ::skipWhile<LChar, LCharPredicateAdapter<characterPredicate> >(current, m_end.characters8);
+ ::skipWhile<LChar, LCharPredicateAdapter<characterPredicate>>(current, m_end.characters8);
return Run(position(), current, m_is8Bit);
}
const UChar* current = m_data.characters16;
@@ -199,7 +199,7 @@ inline VTTScanner::Run VTTScanner::collectUntil()
{
if (m_is8Bit) {
const LChar* current = m_data.characters8;
- ::skipUntil<LChar, LCharPredicateAdapter<characterPredicate> >(current, m_end.characters8);
+ ::skipUntil<LChar, LCharPredicateAdapter<characterPredicate>>(current, m_end.characters8);
return Run(position(), current, m_is8Bit);
}
const UChar* current = m_data.characters16;
« no previous file with comments | « Source/core/html/track/vtt/VTTRegionList.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698