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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/text-match-document-change.html

Issue 2802543002: Update window.internals.addTextMatchMarker() to take enum instead of bool (Closed)
Patch Set: Fix one more test, add k prefix Created 3 years, 8 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/LayoutTests/paint/invalidation/text-match-document-change.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/text-match-document-change.html b/third_party/WebKit/LayoutTests/paint/invalidation/text-match-document-change.html
index 254a2dc299ee7fc6f39b4fd176762f384a54f863..5554feac7528f71a37725f3df4fa99e026034299 100644
--- a/third_party/WebKit/LayoutTests/paint/invalidation/text-match-document-change.html
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/text-match-document-change.html
@@ -7,7 +7,7 @@ function highlightRange(id, start, end) {
var elem = frameWindow.document.getElementById(id).firstChild;
range.setStart(elem, start);
range.setEnd(elem, end);
- frameWindow.internals.addTextMatchMarker(range, false);
+ frameWindow.internals.addTextMatchMarker(range, 'kInactive');
}
function repaintTest() {

Powered by Google App Engine
This is Rietveld 408576698