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

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

Issue 2450793002: Call invalidatePaintForTickmarks() in Internals::addTextMatchMarker() (Closed)
Patch Set: runAfterLayoutAndPaint Created 4 years, 1 month 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 34bf1b830912ff027d8882feafa153da6434f8de..6717717446cf3bb6f0a8151e75b985e99c8f4411 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -991,6 +991,7 @@ void Internals::addTextMatchMarker(const Range* range, bool isActive) {
range->ownerDocument().updateStyleAndLayoutIgnorePendingStylesheets();
range->ownerDocument().markers().addTextMatchMarker(EphemeralRange(range),
isActive);
+ range->ownerDocument().view()->invalidatePaintForTickmarks();
Xianzhu 2016/11/01 06:41:22 Please add a comment like: This simulates what the
hiroshige 2016/11/04 09:28:06 Done.
}
static bool parseColor(const String& value,

Powered by Google App Engine
This is Rietveld 408576698