aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2014-10-02 17:52:03 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-02 17:52:03 -0700
commit2cc22b8f2fe4d11e5709ec5ab73adccebb262249 (patch)
tree20eb5e97b25ed815099e7ee752541653ebbdb12b /src
parent92561a0b99ad6c08ab7a11dd1872f028199392e9 (diff)
make SkMatrix::dump always available
BUG=skia: TBR= Review URL: https://codereview.chromium.org/624783002
Diffstat (limited to 'src')
-rw-r--r--src/core/SkMatrix.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/SkMatrix.cpp b/src/core/SkMatrix.cpp
index 3f235d54aa..db6cc8953c 100644
--- a/src/core/SkMatrix.cpp
+++ b/src/core/SkMatrix.cpp
@@ -1592,21 +1592,17 @@ size_t SkMatrix::readFromMemory(const void* buffer, size_t length) {
return sizeInMemory;
}
-#ifdef SK_DEVELOPER
void SkMatrix::dump() const {
SkString str;
this->toString(&str);
SkDebugf("%s\n", str.c_str());
}
-#endif
-#ifndef SK_IGNORE_TO_STRING
void SkMatrix::toString(SkString* str) const {
str->appendf("[%8.4f %8.4f %8.4f][%8.4f %8.4f %8.4f][%8.4f %8.4f %8.4f]",
fMat[0], fMat[1], fMat[2], fMat[3], fMat[4], fMat[5],
fMat[6], fMat[7], fMat[8]);
}
-#endif
///////////////////////////////////////////////////////////////////////////////