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

Unified Diff: third_party/WebKit/Source/web/LinkHighlightImpl.cpp

Issue 2872423002: Tweak PaintInvalidationReasons (Closed)
Patch Set: Rebaseline-cl Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/RasterInvalidationTracking.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/LinkHighlightImpl.cpp
diff --git a/third_party/WebKit/Source/web/LinkHighlightImpl.cpp b/third_party/WebKit/Source/web/LinkHighlightImpl.cpp
index 152fc313c580d8c3eee92fa0c2a8113270e7610a..7232059eea0751e431189d315633564c1eee8c87 100644
--- a/third_party/WebKit/Source/web/LinkHighlightImpl.cpp
+++ b/third_party/WebKit/Source/web/LinkHighlightImpl.cpp
@@ -376,13 +376,14 @@ void LinkHighlightImpl::UpdateGeometry() {
// repaint.
content_layer_->Layer()->Invalidate();
- if (current_graphics_layer_)
+ if (current_graphics_layer_) {
current_graphics_layer_->TrackRasterInvalidation(
LinkHighlightDisplayItemClientForTracking(),
EnclosingIntRect(
FloatRect(Layer()->GetPosition().x, Layer()->GetPosition().y,
Layer()->Bounds().width, Layer()->Bounds().height)),
- kPaintInvalidationFull);
+ PaintInvalidationReason::kFull);
+ }
}
} else {
ClearGraphicsLayerLinkHighlightPointer();
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/RasterInvalidationTracking.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698