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

Unified Diff: Source/core/layout/LayoutBox.cpp

Issue 1312943008: Invalidate background obscuration after loading background images (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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 | « LayoutTests/paint/invalidation/resources/bluesquare.png ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutBox.cpp
diff --git a/Source/core/layout/LayoutBox.cpp b/Source/core/layout/LayoutBox.cpp
index eb135636cd9f5892b18d4884ee096469bc8949d0..57c008958978bdd6ca6f506763eac40512b86973 100644
--- a/Source/core/layout/LayoutBox.cpp
+++ b/Source/core/layout/LayoutBox.cpp
@@ -1353,6 +1353,9 @@ bool LayoutBox::invalidatePaintOfLayerRectsForImage(WrappedImagePtr image, const
setShouldDoFullPaintInvalidation(PaintInvalidationDelayedFull);
else
setShouldDoFullPaintInvalidation();
+
+ if (drawingBackground)
+ invalidateBackgroundObscurationStatus();
return true;
}
}
« no previous file with comments | « LayoutTests/paint/invalidation/resources/bluesquare.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698