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

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

Issue 2238853005: Use GeometryMapper in PaintInvalidator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@GeometryMapperMore
Patch Set: Rebase Created 4 years, 4 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 c305541537a1550ac9706eac94860fe66522ac93..564e136210f613a42cfe1da4421816b4b45c5457 100644
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.h
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.h
@@ -6,6 +6,7 @@
#define PaintInvalidator_h
#include "platform/geometry/LayoutRect.h"
+#include "platform/graphics/paint/GeometryMapper.h"
#include "wtf/Vector.h"
namespace blink {
@@ -72,7 +73,14 @@ public:
void processPendingDelayedPaintInvalidations();
private:
+ LayoutRect mapLocalRectToPaintInvalidationBacking(const LayoutObject&, const FloatRect&, const PaintInvalidatorContext&);
+ LayoutRect computePaintInvalidationRectInBacking(const LayoutObject&, const PaintInvalidatorContext&);
+ LayoutPoint computeLocationFromPaintInvalidationBacking(const LayoutObject&, const PaintInvalidatorContext&);
+ void updatePaintingLayer(const LayoutObject&, PaintInvalidatorContext&);
+ void updateContext(const LayoutObject&, PaintInvalidatorContext&);
+
Vector<const LayoutObject*> m_pendingDelayedPaintInvalidations;
+ GeometryMapper m_geometryMapper;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698