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 f431640aaf587d2039fc6b7059ed31a7a3c3a8ee..2a87e985d6004a31dcb953b1c46a88a4f74465a0 100644 |
--- a/third_party/WebKit/Source/core/testing/Internals.cpp |
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp |
@@ -1010,8 +1010,9 @@ void Internals::addTextMatchMarker(const Range* range, bool isActive) { |
return; |
range->ownerDocument().updateStyleAndLayoutIgnorePendingStylesheets(); |
- range->ownerDocument().markers().addTextMatchMarker(EphemeralRange(range), |
- isActive); |
+ range->ownerDocument().markers().addTextMatchMarker( |
+ EphemeralRange(range), isActive ? DocumentMarker::MatchStatus::kActive |
+ : DocumentMarker::MatchStatus::kInactive); |
// This simulates what the production code does after |
// DocumentMarkerController::addTextMatchMarker(). |