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

Unified Diff: third_party/WebKit/Source/platform/testing/PaintPrinters.cpp

Issue 2277443003: [SPv2] Rasterization invalidation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: - 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
« no previous file with comments | « third_party/WebKit/Source/platform/testing/FakeDisplayItemClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « third_party/WebKit/Source/platform/testing/FakeDisplayItemClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698