Index: third_party/WebKit/Source/core/editing/PlainTextRange.cpp |
diff --git a/third_party/WebKit/Source/core/editing/PlainTextRange.cpp b/third_party/WebKit/Source/core/editing/PlainTextRange.cpp |
index 048ffb83a6aee7b4c40a5328ae4c0f1cc6977ffc..553978dd1175f410f28982fe5fa638a96a20c380 100644 |
--- a/third_party/WebKit/Source/core/editing/PlainTextRange.cpp |
+++ b/third_party/WebKit/Source/core/editing/PlainTextRange.cpp |
@@ -83,9 +83,9 @@ EphemeralRange PlainTextRange::createRangeFor(const ContainerNode& scope, GetRan |
behaviorFlags |= TextIteratorEmitsCharactersBetweenAllVisiblePositions; |
auto range = EphemeralRange::rangeOfContents(scope); |
- // 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. |
- scope.document().updateLayoutIgnorePendingStylesheets(); |
+ scope.document().updateStyleAndLayoutIgnorePendingStylesheets(); |
TextIterator it(range.startPosition(), range.endPosition(), behaviorFlags); |