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

Unified Diff: src/core/SkRecorder.cpp

Issue 491903002: Dump out more information if this assert fails. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix chrome canary Created 6 years, 4 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: src/core/SkRecorder.cpp
diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp
index 656cf91eb8403e09181e55bc4a4a7c7b53a5f255..a2ef00bfe2b2f14989bcd590d13d1260310506b6 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());
« 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