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 44aa021f4af8785fc3a59f61bc89417244c279ea..84ff56bf5d880164e732f98dafa27982ba060efb 100644 |
--- a/third_party/WebKit/Source/core/testing/Internals.cpp |
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp |
@@ -902,7 +902,7 @@ void Internals::addTextMatchMarker(const Range* range, bool isActive) |
{ |
ASSERT(range); |
range->ownerDocument().updateStyleAndLayoutIgnorePendingStylesheets(); |
- range->ownerDocument().markers().addTextMatchMarker(range, isActive); |
+ range->ownerDocument().markers().addTextMatchMarker(EphemeralRange(range), isActive); |
} |
void Internals::setMarkersActive(Node* node, unsigned startOffset, unsigned endOffset, bool active) |