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

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

Issue 2872353002: [DMC #5.55v2] Add DocumentMarkerList::MarkerType() (Closed)
Patch Set: Created 3 years, 7 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/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 0566f7cff8f0cf19bda506d358d9109eee305fde..899bd63468aac2b56beedf98b7b5d122cdb5bc8c 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
@@ -73,9 +73,9 @@ DocumentMarkerList* CreateListForType(DocumentMarker::MarkerType type) {
return new CompositionMarkerListImpl();
case DocumentMarker::kSpelling:
case DocumentMarker::kGrammar:
- return new SpellCheckMarkerListImpl();
+ return new SpellCheckMarkerListImpl(type);
default:
- return new GenericDocumentMarkerListImpl();
+ return new GenericDocumentMarkerListImpl(type);
}
}

Powered by Google App Engine
This is Rietveld 408576698