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

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

Issue 2653433002: Share GeometryMapper cache between pre-paint and compositing. (Closed)
Patch Set: none 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/PrePaintTreeWalk.h
diff --git a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
index 603fad7e109f1b0a285118950b6940738d61432e..8f0f9171cd02acf43be0cbaab4294f41cb812416 100644
--- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
+++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
@@ -11,6 +11,7 @@
namespace blink {
class FrameView;
+class GeometryMapper;
class LayoutObject;
struct PrePaintTreeWalkContext;
@@ -19,6 +20,8 @@ struct PrePaintTreeWalkContext;
// perform actual actions. It expects to be invoked in InPrePaint phase.
class PrePaintTreeWalk {
public:
+ PrePaintTreeWalk(GeometryMapper& geometryMapper)
+ : m_paintInvalidator(geometryMapper) {}
void walk(FrameView& rootFrame);
private:

Powered by Google App Engine
This is Rietveld 408576698