aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-08-20 09:44:28 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-20 09:44:28 -0700
commit46bc6217ca41178c357a68be2869b8b2f6defe47 (patch)
tree2f4f9aa559535bba26368b6aaa2306f650a56920 /src
parentec924b9696277df4c684e73315194482e1d43e50 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/core/SkRecorder.cpp2
1 files changed, 1 insertions, 1 deletions
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());