Index: third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.cpp |
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.cpp |
index c37a4fe5f9825b993ba9d57b71e637acf6a7325a..b629b20b3212183d45bdf9cba90c1df3961766e7 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.cpp |
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.cpp |
@@ -66,7 +66,7 @@ bool DocumentMarkerListEditor::RemoveMarkers(MarkerList* list, |
return start_offset < marker->EndOffset(); |
}); |
for (MarkerList::iterator i = start_pos; i != list->end();) { |
- DocumentMarker marker(*i->Get()); |
+ const DocumentMarker& marker = *i->Get(); |
// markers are returned in order, so stop if we are now past the specified |
// range |