Index: third_party/WebKit/Source/core/editing/markers/GrammarMarker.cpp |
diff --git a/third_party/WebKit/Source/core/editing/markers/GrammarMarker.cpp b/third_party/WebKit/Source/core/editing/markers/GrammarMarker.cpp |
index 32cfbb69a6e82b65065615c2720eee5e132ebb6a..eadeee2f38057493ac189e90173a454964c1c3ad 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/GrammarMarker.cpp |
+++ b/third_party/WebKit/Source/core/editing/markers/GrammarMarker.cpp |
@@ -9,11 +9,12 @@ namespace blink { |
GrammarMarker::GrammarMarker(unsigned start_offset, |
unsigned end_offset, |
const String& description) |
- : SpellCheckMarker(DocumentMarker::kGrammar, |
- start_offset, |
- end_offset, |
- description) { |
+ : SpellCheckMarker(start_offset, end_offset, description) { |
DCHECK_LT(start_offset, end_offset); |
} |
+DocumentMarker::MarkerType GrammarMarker::GetType() const { |
+ return DocumentMarker::kGrammar; |
+} |
+ |
} // namespace blink |