From 46bc6217ca41178c357a68be2869b8b2f6defe47 Mon Sep 17 00:00:00 2001 From: mtklein Date: Wed, 20 Aug 2014 09:44:28 -0700 Subject: [PATCH] Dump out more information if this assert fails. BUG=skia: Committed: https://skia.googlesource.com/skia/+/ec924b9696277df4c684e73315194482e1d43e50 R=caryclark@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/491903002 --- src/core/SkRecorder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp index 656cf91eb8..a2ef00bfe2 100644 --- a/src/core/SkRecorder.cpp +++ b/src/core/SkRecorder.cpp @@ -244,7 +244,7 @@ void SkRecorder::didConcat(const SkMatrix& matrix) { } void SkRecorder::didSetMatrix(const SkMatrix& matrix) { - SkDEBUGCODE(if (matrix != this->getTotalMatrix()) { + SkDEVCODE(if (matrix != this->getTotalMatrix()) { matrix.dump(); this->getTotalMatrix().dump(); SkASSERT(matrix == this->getTotalMatrix()); -- 2.34.1