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

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

Issue 2872353002: [DMC #5.55v2] Add DocumentMarkerList::MarkerType() (Closed)
Patch Set: 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/SpellCheckMarkerListImpl.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.cpp b/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.cpp
index 141f787c02dc3684a7224c2ac8d39e37ea8d22c1..514256a324c4562a8b85c0c09451c5ab6a0344d0 100644
--- a/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.cpp
@@ -9,6 +9,14 @@
namespace blink {
+SpellCheckMarkerListImpl::SpellCheckMarkerListImpl(
+ DocumentMarker::MarkerType marker_type)
+ : marker_type_(marker_type) {}
+
+DocumentMarker::MarkerType SpellCheckMarkerListImpl::MarkerType() const {
+ return marker_type_;
+}
+
bool SpellCheckMarkerListImpl::IsEmpty() const {
return markers_.IsEmpty();
}

Powered by Google App Engine
This is Rietveld 408576698