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

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

Issue 2868413002: [DMC #5.55] Add DocumentMarkerList::MarkerType() (Closed)
Patch Set: Fix mistake in comment 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/GenericDocumentMarkerListImpl.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/GenericDocumentMarkerListImpl.cpp b/third_party/WebKit/Source/core/editing/markers/GenericDocumentMarkerListImpl.cpp
index aa0cd56d6eb13cb78ed0719fe7fcb4333f958e55..93603e62b96d8ae41b0ae8596319b6532a506a88 100644
--- a/third_party/WebKit/Source/core/editing/markers/GenericDocumentMarkerListImpl.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/GenericDocumentMarkerListImpl.cpp
@@ -9,6 +9,14 @@
namespace blink {
+GenericDocumentMarkerListImpl::GenericDocumentMarkerListImpl(
+ DocumentMarker::MarkerType marker_type)
+ : marker_type_(marker_type) {}
+
+DocumentMarker::MarkerType GenericDocumentMarkerListImpl::MarkerType() const {
+ return marker_type_;
+}
+
bool GenericDocumentMarkerListImpl::IsEmpty() const {
return markers_.IsEmpty();
}

Powered by Google App Engine
This is Rietveld 408576698