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

Unified Diff: third_party/WebKit/Source/core/html/track/vtt/VTTScanner.cpp

Issue 1740483004: Rename enums/functions that collide in chromium style in core/html/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-5
Patch Set: get-names-6: . Created 4 years, 10 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
Index: third_party/WebKit/Source/core/html/track/vtt/VTTScanner.cpp
diff --git a/third_party/WebKit/Source/core/html/track/vtt/VTTScanner.cpp b/third_party/WebKit/Source/core/html/track/vtt/VTTScanner.cpp
index 2110b9e2b85efa224bd5704b349ffdff43524f5e..423dce5c6df003f0b5be03b36184b9a6590d284d 100644
--- a/third_party/WebKit/Source/core/html/track/vtt/VTTScanner.cpp
+++ b/third_party/WebKit/Source/core/html/track/vtt/VTTScanner.cpp
@@ -67,7 +67,7 @@ bool VTTScanner::scan(const LChar* characters, size_t charactersCount)
bool VTTScanner::scanRun(const Run& run, const String& toMatch)
{
- ASSERT(run.start() == position());
+ ASSERT(run.start() == getPosition());
ASSERT(run.start() <= end());
ASSERT(run.end() >= run.start());
ASSERT(run.end() <= end());
@@ -94,7 +94,7 @@ void VTTScanner::skipRun(const Run& run)
String VTTScanner::extractString(const Run& run)
{
- ASSERT(run.start() == position());
+ ASSERT(run.start() == getPosition());
ASSERT(run.start() <= end());
ASSERT(run.end() >= run.start());
ASSERT(run.end() <= end());
@@ -109,7 +109,7 @@ String VTTScanner::extractString(const Run& run)
String VTTScanner::restOfInputAsString()
{
- Run rest(position(), end(), m_is8Bit);
+ Run rest(getPosition(), end(), m_is8Bit);
return extractString(rest);
}
@@ -142,7 +142,7 @@ bool VTTScanner::scanFloat(float& number)
{
Run integerRun = collectWhile<isASCIIDigit>();
seekTo(integerRun.end());
- Run decimalRun(position(), position(), m_is8Bit);
+ Run decimalRun(getPosition(), getPosition(), m_is8Bit);
if (scan('.')) {
decimalRun = collectWhile<isASCIIDigit>();
seekTo(decimalRun.end());
@@ -155,7 +155,7 @@ bool VTTScanner::scanFloat(float& number)
return false;
}
- size_t lengthOfFloat = Run(integerRun.start(), position(), m_is8Bit).length();
+ size_t lengthOfFloat = Run(integerRun.start(), getPosition(), m_is8Bit).length();
bool validNumber;
if (m_is8Bit)
number = charactersToFloat(integerRun.start(), lengthOfFloat, &validNumber);
@@ -169,7 +169,7 @@ bool VTTScanner::scanFloat(float& number)
bool VTTScanner::scanPercentage(float& percentage)
{
- Position savedPosition = position();
+ Position savedPosition = getPosition();
if (!scanFloat(percentage))
return false;
if (scan('%'))
« no previous file with comments | « third_party/WebKit/Source/core/html/track/vtt/VTTScanner.h ('k') | third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698