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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h

Issue 2380683006: SPv2: Add support for tracking raster paint invalidations in testing. (Closed)
Patch Set: none Created 4 years, 3 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/platform/graphics/paint/PaintChunk.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h b/third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h
index 701f218b0221f7ade9a2b928a71e4879f64903da..6f2e48dd9d08aefbcaf02ee0f7e17ab9d73da64f 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h
@@ -8,6 +8,7 @@
#include "platform/geometry/FloatRect.h"
#include "platform/graphics/paint/DisplayItem.h"
#include "platform/graphics/paint/PaintChunkProperties.h"
+#include "platform/graphics/paint/PaintInvalidationTracking.h"
#include "wtf/Allocator.h"
#include "wtf/Optional.h"
#include "wtf/Vector.h"
@@ -83,7 +84,7 @@ struct PaintChunk {
// SPv2 only. Rectangles that need to be re-rasterized in this chunk, in the
// coordinate space of the containing transform node.
- Vector<FloatRect> rasterInvalidationRects;
+ Vector<PaintInvalidationInfo> rasterInvalidationRects;
Xianzhu 2016/09/30 00:47:00 I suggest to keep this to still contain FloatRect,
chrishtr 2016/09/30 18:19:10 Done.
};
inline bool operator==(const PaintChunk& a, const PaintChunk& b)

Powered by Google App Engine
This is Rietveld 408576698