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

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

Issue 1762993002: Revert of TextIteratorAlgorithm should not force layout update in constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/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 e22ad5a6c11383c807093e182fc6391813aa3f47..f9d370e090bb93bd096353fedefa6cbe7692c1ea 100644
--- a/third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp
+++ b/third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp
@@ -434,9 +434,6 @@
TextIteratorBehaviorFlags behavior = iteratorFlagsForFindPlainText;
if (options & FindAPICall)
behavior |= TextIteratorForWindowFind;
- // TODO(dglazkov): The use of updateLayoutIgnorePendingStylesheets needs to be audited.
- // see http://crbug.com/590369 for more details.
- inputRange.startPosition().document()->updateLayoutIgnorePendingStylesheets();
CharacterIteratorAlgorithm<Strategy> findIterator(inputRange, behavior);
matchLength = findPlainTextInternal(findIterator, target, options, matchStart);
if (!matchLength)

Powered by Google App Engine
This is Rietveld 408576698