1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "third_party/blink/renderer/core/editing/markers/grammar_marker.h"
6 
7 namespace blink {
8 
GrammarMarker(unsigned start_offset,unsigned end_offset,const String & description)9 GrammarMarker::GrammarMarker(unsigned start_offset,
10                              unsigned end_offset,
11                              const String& description)
12     : SpellCheckMarker(start_offset, end_offset, description) {
13   DCHECK_LT(start_offset, end_offset);
14 }
15 
GetType() const16 DocumentMarker::MarkerType GrammarMarker::GetType() const {
17   return DocumentMarker::kGrammar;
18 }
19 
20 }  // namespace blink
21