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

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

Issue 2161253003: Revert of PaintChunk::id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@CommitOnTheWay
Patch Set: Created 4 years, 5 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..abd63837c086ebcba29cc8e762556c7b738960c6 100644
--- a/third_party/WebKit/Source/platform/testing/PaintPrinters.cpp
+++ b/third_party/WebKit/Source/platform/testing/PaintPrinters.cpp
@@ -45,19 +45,7 @@
{
*os << "PaintChunk(begin=" << chunk.beginIndex
<< ", end=" << chunk.endIndex
- << ", id=";
- if (!chunk.id) {
- *os << "null";
- } else {
- *os << "(" << &chunk.id->client << ", ";
-#ifndef NDEBUG
- *os << DisplayItem::typeAsDebugString(chunk.id->type);
-#else
- *os << static_cast<int>(chunk.id->type);
-#endif
- *os << ")";
- }
- *os << ", props=";
+ << ", props=";
PrintTo(chunk.properties, os);
*os << ", bounds=";
PrintTo(chunk.bounds, 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