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

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

Issue 2698123002: Avoid false-positives of paint offset change detection (method 2) (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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c4386dc28f16417b15beb3c673e7f263c47a8098..761d64db8b40a229791c54a5d1f864cadb0cdd96 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
@@ -99,12 +99,6 @@ class PaintPropertyTreeBuilder {
// date.
void updateProperties(FrameView&, PaintPropertyTreeBuilderContext&);
- // Update the context to account for positioning. No paint properties are
- // updated but this can affect the current paint offset which will force a
- // subtree update.
- 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. Also
// handles updating the object's paintOffset.
@@ -116,6 +110,9 @@ class PaintPropertyTreeBuilder {
PaintPropertyTreeBuilderContext&);
private:
+ ALWAYS_INLINE static void updateContextForLocation(
+ const LayoutObject&,
+ PaintPropertyTreeBuilderContext&);
ALWAYS_INLINE static void updatePaintOffsetTranslation(
const LayoutObject&,
PaintPropertyTreeBuilderContext&);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698