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

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

Issue 2614093002: Combine LayoutObject::previousPaintOffset and paintOffset in paint properties (Closed)
Patch Set: Resolve conflict Created 3 years, 11 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/PaintInvalidator.h
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.h b/third_party/WebKit/Source/core/paint/PaintInvalidator.h
index e93ec3c9522cfefb34f97121c49b9be527e70928..eb733986a3a9225b8242c525e0bd1341639ee439 100644
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.h
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.h
@@ -82,17 +82,14 @@ struct PaintInvalidatorContext {
// LayoutObject::adjustVisualRectForCompositedScrolling().
LayoutPoint oldLocation;
LayoutPoint newLocation;
-
- // Stores the old and new offsets to paint this object, relative to the
- // containing transform node. They are for SPv2 only.
- LayoutPoint oldPaintOffset;
- LayoutPoint newPaintOffset;
};
class PaintInvalidator {
public:
void invalidatePaintIfNeeded(FrameView&, PaintInvalidatorContext&);
- void invalidatePaintIfNeeded(const LayoutObject&, PaintInvalidatorContext&);
+ void invalidatePaintIfNeeded(const LayoutObject&,
+ const LayoutPoint& oldPaintOffset,
+ PaintInvalidatorContext&);
// Process objects needing paint invalidation on the next frame.
// See the definition of PaintInvalidationDelayedFull for more details.
« no previous file with comments | « third_party/WebKit/Source/core/paint/ObjectPainter.cpp ('k') | third_party/WebKit/Source/core/paint/PaintInvalidator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698