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

Unified Diff: third_party/WebKit/Source/platform/text/SegmentedString.cpp

Issue 2385283002: reflow comments in platform/{testing,text} (Closed)
Patch Set: idunnolol Created 4 years, 2 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/platform/text/SegmentedString.cpp
diff --git a/third_party/WebKit/Source/platform/text/SegmentedString.cpp b/third_party/WebKit/Source/platform/text/SegmentedString.cpp
index 74e6806521b65fd80a2a2c86045de52fa69df912..76c61f1acad1d93b7fc59bc740f2ca5f4ac5c760 100644
--- a/third_party/WebKit/Source/platform/text/SegmentedString.cpp
+++ b/third_party/WebKit/Source/platform/text/SegmentedString.cpp
@@ -77,7 +77,8 @@ void SegmentedString::push(UChar c) {
// pushIfPossible attempts to rewind the pointer in the SegmentedSubstring,
// however it will fail if the SegmentedSubstring is empty, or
- // when we prepended some text while consuming a SegmentedSubstring by document.write().
+ // when we prepended some text while consuming a SegmentedSubstring by
+ // document.write().
if (m_currentString.pushIfPossible(c)) {
m_currentChar = c;
return;
@@ -236,7 +237,8 @@ void SegmentedString::advanceAndUpdateLineNumberSlowCase() {
if (m_currentString.getCurrentChar() == '\n' &&
m_currentString.doNotExcludeLineNumbers()) {
++m_currentLine;
- // Plus 1 because numberOfCharactersConsumed value hasn't incremented yet; it does with length() decrement below.
+ // Plus 1 because numberOfCharactersConsumed value hasn't incremented yet;
+ // it does with length() decrement below.
m_numberOfCharactersConsumedPriorToCurrentLine =
numberOfCharactersConsumed() + 1;
}
« no previous file with comments | « third_party/WebKit/Source/platform/text/SegmentedString.h ('k') | third_party/WebKit/Source/platform/text/TextBreakIterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698