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

Unified Diff: tools/dump_record.cpp

Issue 265983007: Add dump_record to make inspecting before/after SkRecordOptimize easy. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: default cause Created 6 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dump_record.cpp
diff --git a/tools/dump_record.cpp b/tools/dump_record.cpp
index 4abf77a4d4728245fea095abf67e35e994f42d1f..86911555257dd60f0181a2ae4de42b906f4e0d08 100644
--- a/tools/dump_record.cpp
+++ b/tools/dump_record.cpp
@@ -59,6 +59,8 @@ private:
#define CASE(U) case SkRecords::U##_Type: return #U;
switch(T::kType) { SK_RECORD_TYPES(CASE); }
#undef CASE
+ SkDEBUGFAIL("Unknown T");
+ return "Unknown T";
}
static const char* NameOf(const SkRecords::SaveLayer&) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698