aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/codec/SkMasks.cpp
diff options
context:
space:
mode:
authorGravatar scroggo <scroggo@google.com>2015-03-26 07:15:55 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-26 07:15:55 -0700
commit230d4ac7013f79a3e79efd4452d7fa5c3f508660 (patch)
tree6b5d94462fb781c9e9f9de42421a22c4061ed3f0 /src/codec/SkMasks.cpp
parentb880d7f87e0271f96e21a4d01071fbe8c9a28812 (diff)
Use a wrapper for SkDebugf in SkCodec.
It can be silenced or not with one flag. Always print when building for the android framework. Also remove the meaningless define of override to override. BUG=skia:3257 Review URL: https://codereview.chromium.org/1032093004
Diffstat (limited to 'src/codec/SkMasks.cpp')
-rw-r--r--src/codec/SkMasks.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/codec/SkMasks.cpp b/src/codec/SkMasks.cpp
index 1c542ceab2..4b32c61dbe 100644
--- a/src/codec/SkMasks.cpp
+++ b/src/codec/SkMasks.cpp
@@ -5,6 +5,7 @@
* found in the LICENSE file.
*/
+#include "SkCodecPriv.h"
#include "SkMasks.h"
#include "SkTypes.h"
@@ -106,7 +107,7 @@ const SkMasks::MaskInfo process_mask(uint32_t mask, uint32_t bpp) {
}
// Check that the mask is continuous
if (tempMask != 0) {
- SkDebugf("Warning: Bit masks is not continuous.\n");
+ SkCodecPrintf("Warning: Bit masks is not continuous.\n");
}
// Truncate masks greater than 8 bits
if (size > 8) {