Index: third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.cpp |
diff --git a/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.cpp b/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.cpp |
index a62cdeaa8acf369e3146e7fd03b1435c114420a5..19c2e950996a6907d6b75d0e184389b3bfc88e0f 100644 |
--- a/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.cpp |
+++ b/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.cpp |
@@ -250,9 +250,9 @@ TextCheckingHelper::~TextCheckingHelper() |
String TextCheckingHelper::findFirstMisspelling(int& firstMisspellingOffset, bool markAll) |
{ |
- // 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. |
- m_start.document()->updateLayoutIgnorePendingStylesheets(); |
+ m_start.document()->updateStyleAndLayoutIgnorePendingStylesheets(); |
WordAwareIterator it(m_start, m_end); |
firstMisspellingOffset = 0; |