| Index: third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp
|
| index 1ba43e8263daf09bf306eddf362925d9c1eb101c..1b70bef4c8487b5c5e3cfe11f5f969c9a95431b6 100644
|
| --- a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp
|
| @@ -267,6 +267,11 @@ Color DocumentMarker::BackgroundColor() const {
|
| return Color::kTransparent;
|
| }
|
|
|
| +bool DocumentMarker::EndsBefore(size_t start_offset,
|
| + const DocumentMarker* marker) {
|
| + return start_offset < marker->EndOffset();
|
| +}
|
| +
|
| DEFINE_TRACE(DocumentMarker) {
|
| visitor->Trace(details_);
|
| }
|
|
|