| Index: third_party/WebKit/Source/core/testing/Internals.cpp
|
| diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| index 8e794f8d537a64b639c1e2346c7d255a7eb4f3d1..ca379b29ae45158eae9e7e078682bdf5063807eb 100644
|
| --- a/third_party/WebKit/Source/core/testing/Internals.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| @@ -65,6 +65,7 @@
|
| #include "core/editing/iterators/TextIterator.h"
|
| #include "core/editing/markers/DocumentMarker.h"
|
| #include "core/editing/markers/DocumentMarkerController.h"
|
| +#include "core/editing/markers/TextMatchMarker.h"
|
| #include "core/editing/serializers/Serialization.h"
|
| #include "core/editing/spellcheck/IdleSpellCheckCallback.h"
|
| #include "core/editing/spellcheck/SpellCheckRequester.h"
|
| @@ -968,7 +969,7 @@ unsigned Internals::activeMarkerCountForNode(Node* node) {
|
|
|
| unsigned active_marker_count = 0;
|
| for (const auto& marker : markers) {
|
| - if (marker->IsActiveMatch())
|
| + if (ToTextMatchMarker(marker)->IsActiveMatch())
|
| active_marker_count++;
|
| }
|
|
|
|
|