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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.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/layout/LayoutView.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.h b/third_party/WebKit/Source/core/layout/LayoutView.h
index 0317ac1f72ed629488c17d62012d31ff0ac19612..635088a1a92231c543b007785961d3b4285d1f7b 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.h
+++ b/third_party/WebKit/Source/core/layout/LayoutView.h
@@ -129,6 +129,11 @@ class CORE_EXPORT LayoutView final : public LayoutBlockFlow {
void invalidatePaintForViewAndCompositedLayers();
+ PaintInvalidationReason invalidatePaintIfNeeded(
+ const PaintInvalidationState&) override;
+ PaintInvalidationReason invalidatePaintIfNeeded(
+ const PaintInvalidatorContext&) const override;
+
void paint(const PaintInfo&, const LayoutPoint&) const override;
void paintBoxDecorationBackground(const PaintInfo&,
const LayoutPoint&) const override;

Powered by Google App Engine
This is Rietveld 408576698