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

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

Issue 2529293012: Invalidate paint properties on paint offset changes (Closed)
Patch Set: Fix transform underinvalidation, skip several spinvalidation skips Created 4 years 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/PaintPropertyTreeBuilder.h
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
index e1f5e3911c1e41448db27f7839576ee28bb56c79..350073f43cf0682d3f919badd70ad5b98878da83 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
@@ -96,6 +96,11 @@ class PaintPropertyTreeBuilder {
// date.
void updateProperties(FrameView&, PaintPropertyTreeBuilderContext&);
+ // Update the context to account for positioning. This can affect the
+ // current paint offset, for example, but no paint properties are updated.
+ void updateContextForBoxPosition(const LayoutObject&,
+ PaintPropertyTreeBuilderContext&);
+
// Update the paint properties that affect this object (e.g., properties like
// paint offset translation) and ensure the context is up to date.
void updatePropertiesForSelf(const LayoutObject&,

Powered by Google App Engine
This is Rietveld 408576698