Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1351)

Unified Diff: third_party/WebKit/Source/core/editing/markers/SpellingMarker.cpp

Issue 2911733002: [DMC #25] Make DocumentMarker::GetType() virtual (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/editing/markers/SpellingMarker.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/SpellingMarker.cpp b/third_party/WebKit/Source/core/editing/markers/SpellingMarker.cpp
index 2b6f28794726a09ccea902abcb6a13f55c602635..bd736e7eed2bc49c129abbe93e54ccb99b7ae70f 100644
--- a/third_party/WebKit/Source/core/editing/markers/SpellingMarker.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/SpellingMarker.cpp
@@ -9,9 +9,10 @@ namespace blink {
SpellingMarker::SpellingMarker(unsigned start_offset,
unsigned end_offset,
const String& description)
- : SpellCheckMarker(DocumentMarker::kSpelling,
- start_offset,
- end_offset,
- description) {}
+ : SpellCheckMarker(start_offset, end_offset, description) {}
+
+DocumentMarker::MarkerType SpellingMarker::GetType() const {
+ return DocumentMarker::kSpelling;
+}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698