| Index: third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
|
| diff --git a/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm b/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
|
| index 6cd6d6625410d4ff9c2755e5960fed33f365b43c..aee528403806d9ba04e35ccc39f86ea209b24889 100644
|
| --- a/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
|
| +++ b/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
|
| @@ -66,9 +66,9 @@ static NSAttributedString* attributedSubstringFromRange(const EphemeralRange& ra
|
|
|
| unsigned position = 0;
|
|
|
| - // 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.
|
| - range.startPosition().document()->updateLayoutIgnorePendingStylesheets();
|
| + range.startPosition().document()->updateStyleAndLayoutIgnorePendingStylesheets();
|
|
|
| for (TextIterator it(range.startPosition(), range.endPosition()); !it.atEnd() && [string length] < length; it.advance()) {
|
| unsigned numCharacters = it.length();
|
|
|