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

Unified Diff: third_party/WebKit/Source/core/paint/BoxPaintInvalidator.h

Issue 2699463004: Fix gradient background invalidation when HTML size changes (Closed)
Patch Set: - Created 3 years, 10 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/paint/BoxPaintInvalidator.h
diff --git a/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.h b/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.h
index 76e2b8ec581220d71f25ebff98182fce2d4e14f8..7d7c811681390f6ce7e82a3dfc7fafb299e531f6 100644
--- a/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.h
+++ b/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.h
@@ -27,6 +27,9 @@ class BoxPaintInvalidator {
PaintInvalidationReason invalidatePaintIfNeeded();
+ static LayoutSize previousBorderBoxSize(const LayoutBox&,
+ const LayoutSize& defaultSize);
+
private:
bool backgroundGeometryDependsOnLayoutOverflowRect();
bool backgroundPaintsOntoScrollingContentsLayer();
@@ -43,7 +46,6 @@ class BoxPaintInvalidator {
bool needsToSavePreviousBoxGeometries();
void savePreviousBoxGeometriesIfNeeded();
- LayoutSize previousBorderBoxSize();
LayoutRect previousContentBoxRect();
LayoutRect previousLayoutOverflowRect();
« no previous file with comments | « third_party/WebKit/Source/core/paint/BUILD.gn ('k') | third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698