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 c68602d7b8cba35a2b1015d77bf2ce30479e9c26..58a16979c7f6d064ee055e905e879b9bab5c3aa2 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp |
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp |
@@ -516,6 +516,8 @@ Vector<IntRect> DocumentMarkerController::RenderedRectsForMarkers( |
node_iterator != end; ++node_iterator) { |
// inner loop; process each marker in this node |
const Node& node = *node_iterator->key; |
+ if (!node.isConnected()) |
+ continue; |
MarkerLists* markers = node_iterator->value.Get(); |
for (size_t marker_list_index = 0; |
marker_list_index < DocumentMarker::kMarkerTypeIndexesCount; |