blob: eadeee2f38057493ac189e90173a454964c1c3ad [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "core/editing/markers/GrammarMarker.h"
namespace blink {
GrammarMarker::GrammarMarker(unsigned start_offset,
unsigned end_offset,
const String& description)
: SpellCheckMarker(start_offset, end_offset, description) {
DCHECK_LT(start_offset, end_offset);
}
DocumentMarker::MarkerType GrammarMarker::GetType() const {
return DocumentMarker::kGrammar;
}
} // namespace blink