Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: third_party/WebKit/Source/core/editing/markers/GenericDocumentMarkerListImpl.cpp

Issue 2820343004: [DMC #4] Add CompositionMarkerListImpl (Closed)
Patch Set: DECLARE_VIRTUAL_TRACE() Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 3c4ceb3289296a65bf76646083c1da8976def1b4..cbe0675c29da1af6c99e9fd3bfc533ab2d6327d4 100644
--- a/third_party/WebKit/Source/core/editing/markers/GenericDocumentMarkerListImpl.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/GenericDocumentMarkerListImpl.cpp
@@ -20,10 +20,11 @@ void GenericDocumentMarkerListImpl::Add(DocumentMarker* marker) {
DocumentMarkerListEditor::AddMarkerAndMergeOverlapping(&markers_, marker);
return;
case DocumentMarker::kTextMatch:
- case DocumentMarker::kComposition:
DocumentMarkerListEditor::AddMarkerWithoutMergingOverlapping(&markers_,
marker);
return;
+ case DocumentMarker::kComposition:
+ NOTREACHED();
}
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698