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 54dee492069420a55cde2fd632d508431df5353d..3c5a0e5f7ec1f994b70543a058e06ae5a3c78450 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp |
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp |
@@ -37,8 +37,9 @@ |
#include "core/editing/markers/CompositionMarkerListImpl.h" |
#include "core/editing/markers/DocumentMarkerListEditor.h" |
#include "core/editing/markers/GenericDocumentMarkerListImpl.h" |
+#include "core/editing/markers/GrammarMarkerListImpl.h" |
#include "core/editing/markers/RenderedDocumentMarker.h" |
-#include "core/editing/markers/SpellCheckMarkerListImpl.h" |
+#include "core/editing/markers/SpellingMarkerListImpl.h" |
#include "core/frame/FrameView.h" |
#include "core/layout/LayoutObject.h" |
@@ -72,10 +73,11 @@ DocumentMarkerList* CreateListForType(DocumentMarker::MarkerType type) { |
case DocumentMarker::kComposition: |
return new CompositionMarkerListImpl(); |
case DocumentMarker::kSpelling: |
+ return new SpellingMarkerListImpl(); |
case DocumentMarker::kGrammar: |
- return new SpellCheckMarkerListImpl(); |
+ return new GrammarMarkerListImpl(); |
default: |
- return new GenericDocumentMarkerListImpl(); |
+ return new GenericDocumentMarkerListImpl(type); |
} |
} |