Dump out more information if this assert fails.
authormtklein <mtklein@chromium.org>
Wed, 20 Aug 2014 16:44:28 +0000 (09:44 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 20 Aug 2014 16:44:28 +0000 (09:44 -0700)
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

index 656cf91eb8403e09181e55bc4a4a7c7b53a5f255..a2ef00bfe2b2f14989bcd590d13d1260310506b6 100644 (file)
@@ -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());