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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutInline.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
Index: third_party/WebKit/Source/core/layout/LayoutInline.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutInline.cpp b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
index 5ef0366d72a31aef7640ca2a267b4675ea391a5d..2cbe2e2beb2b07a9640d1bc24e7407fc75563084 100644
--- a/third_party/WebKit/Source/core/layout/LayoutInline.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
@@ -1441,7 +1441,7 @@ void LayoutInline::ImageChanged(WrappedImagePtr, const IntRect*) {
return;
// FIXME: We can do better.
- SetShouldDoFullPaintInvalidation();
+ SetShouldDoFullPaintInvalidation(PaintInvalidationReason::kImage);
}
namespace {

Powered by Google App Engine
This is Rietveld 408576698