| Index: third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
|
| index f85079ebb19c2a867f477f0863f25e4cde672c2d..eae797a258bcb2065270d992141032f99b60446d 100644
|
| --- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
|
| @@ -393,15 +393,9 @@ DocumentMarkerVector DocumentMarkerController::Markers() {
|
| return result;
|
| }
|
|
|
| -Vector<IntRect> DocumentMarkerController::RenderedRectsForMarkers(
|
| - DocumentMarker::MarkerType marker_type) {
|
| - // Only TextMatch markers can have rendered rects
|
| - // TODO(rlanday): remove marker_type parameter
|
| - DCHECK_EQ(marker_type, DocumentMarker::kTextMatch);
|
| -
|
| +Vector<IntRect> DocumentMarkerController::RenderedRectsForTextMatchMarkers() {
|
| Vector<IntRect> result;
|
| -
|
| - if (!PossiblyHasMarkers(marker_type))
|
| + if (!PossiblyHasMarkers(DocumentMarker::kTextMatch))
|
| return result;
|
| DCHECK(!(markers_.IsEmpty()));
|
|
|
|
|