| Index: third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
|
| index b0b6a02e09065eb88bf4affea036a7bb57d396be..ae98bd92ffb435bb1ef82022baac5dda957851f8 100644
|
| --- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
|
| @@ -98,10 +98,6 @@ void DocumentMarkerController::clear()
|
|
|
| void DocumentMarkerController::addMarker(const Position& start, const Position& end, DocumentMarker::MarkerType type, const String& description, uint32_t hash)
|
| {
|
| - // TODO(dglazkov): The use of updateStyleAndLayoutIgnorePendingStylesheets needs to be audited.
|
| - // see http://crbug.com/590369 for more details.
|
| - start.document()->updateStyleAndLayoutIgnorePendingStylesheets();
|
| -
|
| // Use a TextIterator to visit the potentially multiple nodes the range covers.
|
| for (TextIterator markedText(start, end); !markedText.atEnd(); markedText.advance()) {
|
| addMarker(markedText.currentContainer(), DocumentMarker(type, markedText.startOffsetInCurrentContainer(), markedText.endOffsetInCurrentContainer(), description, hash));
|
|
|