Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 2246143004: Use EphemeralRange instead of Range* in DocumentMarkerController class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on master Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698