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

Unified Diff: third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/editing/iterators/SearchBuffer.cpp
diff --git a/third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp b/third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp
index 9dac6c898174520749d7291d73b50fa27e28f06a..d4dda383119009651c0b1f9c5581f464d76bc00a 100644
--- a/third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp
+++ b/third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp
@@ -434,18 +434,18 @@ static EphemeralRangeTemplate<Strategy> findPlainTextAlgorithm(const EphemeralRa
TextIteratorBehaviorFlags behavior = iteratorFlagsForFindPlainText;
if (options & FindAPICall)
behavior |= TextIteratorForWindowFind;
- // TODO(dglazkov): The use of updateLayoutIgnorePendingStylesheets needs to be audited.
+ // TODO(dglazkov): The use of updateStyleAndLayoutIgnorePendingStylesheets needs to be audited.
// see http://crbug.com/590369 for more details.
- inputRange.startPosition().document()->updateLayoutIgnorePendingStylesheets();
+ inputRange.startPosition().document()->updateStyleAndLayoutIgnorePendingStylesheets();
CharacterIteratorAlgorithm<Strategy> findIterator(inputRange, behavior);
matchLength = findPlainTextInternal(findIterator, target, options, matchStart);
if (!matchLength)
return EphemeralRangeTemplate<Strategy>(options & Backwards ? inputRange.startPosition() : inputRange.endPosition());
}
- // TODO(dglazkov): The use of updateLayoutIgnorePendingStylesheets needs to be audited.
+ // TODO(dglazkov): The use of updateStyleAndLayoutIgnorePendingStylesheets needs to be audited.
// see http://crbug.com/590369 for more details.
- inputRange.startPosition().document()->updateLayoutIgnorePendingStylesheets();
+ inputRange.startPosition().document()->updateStyleAndLayoutIgnorePendingStylesheets();
CharacterIteratorAlgorithm<Strategy> computeRangeIterator(inputRange, iteratorFlagsForFindPlainText);
return computeRangeIterator.calculateCharacterSubrange(matchStart, matchLength);
}

Powered by Google App Engine
This is Rietveld 408576698