Index: third_party/WebKit/Source/platform/testing/PaintPrinters.cpp |
diff --git a/third_party/WebKit/Source/platform/testing/PaintPrinters.cpp b/third_party/WebKit/Source/platform/testing/PaintPrinters.cpp |
index 8cd0db3ff0ce751ac912a7db9e59b467b8929bcf..e786d3444975bfe87a1f2f26bf3d749131c7e8b0 100644 |
--- a/third_party/WebKit/Source/platform/testing/PaintPrinters.cpp |
+++ b/third_party/WebKit/Source/platform/testing/PaintPrinters.cpp |
@@ -62,6 +62,16 @@ void PrintTo(const PaintChunk& chunk, std::ostream* os) |
*os << ", bounds="; |
PrintTo(chunk.bounds, os); |
*os << ", knownToBeOpaque=" << chunk.knownToBeOpaque << ")"; |
+ |
+ *os << ", rerasterizationRects=["; |
+ bool first = true; |
+ for (auto& r : chunk.rasterInvalidationRects) { |
+ if (!first) |
+ *os << ", "; |
+ first = false; |
+ PrintTo(r, os); |
+ }; |
+ *os << "]"; |
} |
void PrintTo(const PaintChunkProperties& properties, std::ostream* os) |