| 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 7a9fdd4801bd4c311eb6afa002c59d3aa4f49039..e764d6bf52478c01152b9be8afeb01c2a63b13c3 100644
|
| --- a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp
|
| @@ -30,7 +30,6 @@
|
|
|
| #include "core/editing/markers/DocumentMarker.h"
|
|
|
| -#include "core/editing/markers/TextMatchMarker.h"
|
| #include "platform/wtf/StdLibExtras.h"
|
|
|
| namespace blink {
|
| @@ -189,11 +188,6 @@ void DocumentMarker::ShiftOffsets(int delta) {
|
| start_offset_ += delta;
|
| end_offset_ += delta;
|
| }
|
| -void DocumentMarker::SetIsActiveMatch(bool active) {
|
| - if (GetType() != DocumentMarker::kTextMatch)
|
| - return;
|
| - ToTextMatchMarker(this)->SetIsActiveMatch(active);
|
| -}
|
|
|
| const String& DocumentMarker::Description() const {
|
| if (DocumentMarkerDescription* details =
|
| @@ -202,12 +196,6 @@ const String& DocumentMarker::Description() const {
|
| return g_empty_string;
|
| }
|
|
|
| -bool DocumentMarker::IsActiveMatch() const {
|
| - if (GetType() != DocumentMarker::kTextMatch)
|
| - return false;
|
| - return ToTextMatchMarker(this)->IsActiveMatch();
|
| -}
|
| -
|
| Color DocumentMarker::UnderlineColor() const {
|
| if (TextCompositionMarkerDetails* details =
|
| ToTextCompositionMarkerDetails(details_.Get()))
|
|
|