| 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 dc2881b92fbe6d4cfae34626bc7e712bcfb6ae0e..0566f7cff8f0cf19bda506d358d9109eee305fde 100644
|
| --- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
|
| @@ -38,6 +38,7 @@
|
| #include "core/editing/markers/DocumentMarkerListEditor.h"
|
| #include "core/editing/markers/GenericDocumentMarkerListImpl.h"
|
| #include "core/editing/markers/RenderedDocumentMarker.h"
|
| +#include "core/editing/markers/SpellCheckMarkerListImpl.h"
|
| #include "core/frame/FrameView.h"
|
| #include "core/layout/LayoutObject.h"
|
|
|
| @@ -70,6 +71,9 @@ DocumentMarkerList* CreateListForType(DocumentMarker::MarkerType type) {
|
| switch (type) {
|
| case DocumentMarker::kComposition:
|
| return new CompositionMarkerListImpl();
|
| + case DocumentMarker::kSpelling:
|
| + case DocumentMarker::kGrammar:
|
| + return new SpellCheckMarkerListImpl();
|
| default:
|
| return new GenericDocumentMarkerListImpl();
|
| }
|
|
|