| 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 16a4f234c38afd00afb891c6fdad45264339ad0a..3992a6d2b50b1acf5d7e0f3f7c1827ba94ef72cf 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()));
|
|
|
|
|