Index: third_party/WebKit/Source/core/editing/markers/GenericDocumentMarkerListImpl.cpp |
diff --git a/third_party/WebKit/Source/core/editing/markers/GenericDocumentMarkerListImpl.cpp b/third_party/WebKit/Source/core/editing/markers/GenericDocumentMarkerListImpl.cpp |
index cbe0675c29da1af6c99e9fd3bfc533ab2d6327d4..0c651b91d0f15daf63a19e49764ebce1db71e4ad 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/GenericDocumentMarkerListImpl.cpp |
+++ b/third_party/WebKit/Source/core/editing/markers/GenericDocumentMarkerListImpl.cpp |
@@ -17,8 +17,7 @@ void GenericDocumentMarkerListImpl::Add(DocumentMarker* marker) { |
switch (marker->GetType()) { |
case DocumentMarker::kSpelling: |
case DocumentMarker::kGrammar: |
- DocumentMarkerListEditor::AddMarkerAndMergeOverlapping(&markers_, marker); |
- return; |
+ NOTREACHED(); |
case DocumentMarker::kTextMatch: |
DocumentMarkerListEditor::AddMarkerWithoutMergingOverlapping(&markers_, |
marker); |
@@ -51,13 +50,6 @@ bool GenericDocumentMarkerListImpl::RemoveMarkers(unsigned start_offset, |
length); |
} |
-bool GenericDocumentMarkerListImpl::RemoveMarkersUnderWords( |
- const String& node_text, |
- const Vector<String>& words) { |
- return DocumentMarkerListEditor::RemoveMarkersUnderWords(&markers_, node_text, |
- words); |
-} |
- |
bool GenericDocumentMarkerListImpl::ShiftMarkers(unsigned offset, |
unsigned old_length, |
unsigned new_length) { |