aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictoria Lease <violets@google.com>2012-08-22 16:50:47 -0700
committerVictoria Lease <violets@google.com>2012-08-22 16:50:47 -0700
commit41aa7b9fc3ae452215876143852024720383e102 (patch)
tree6e66e6d8c3a0748100ce86f92ed0cf73cd547188
parent4981d1421e31f4229bb3d00d8b6dc93f21b03871 (diff)
downloadexternal_skia-41aa7b9fc3ae452215876143852024720383e102.zip
external_skia-41aa7b9fc3ae452215876143852024720383e102.tar.gz
external_skia-41aa7b9fc3ae452215876143852024720383e102.tar.bz2
Disable "no context for char" log spam.
It looks like Id8c91ae0be6cad8a7ef77a0cd5803676290986c1 upgraded this message from an actual error notification into a full-fledged adb log spammer. Oops! This CL moves it back to the location it should be at, and requires SK_DEBUG to see it even there. Bug: 7038312 Change-Id: Iefc0b001a9874e0f177507d43231e6fdb4a1d92a
-rw-r--r--src/core/SkScalerContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkScalerContext.cpp b/src/core/SkScalerContext.cpp
index 85baf94..eee0dc5 100644
--- a/src/core/SkScalerContext.cpp
+++ b/src/core/SkScalerContext.cpp
@@ -171,7 +171,6 @@ SkScalerContext* SkScalerContext::getContextFromChar(SkUnichar uni, unsigned& gl
}
ctx = ctx->getNextContext();
if (NULL == ctx) {
- SkDebugf("--- no context for char %x\n", uni);
return NULL;
}
}
@@ -220,6 +219,7 @@ unsigned SkScalerContext::getBaseGlyphCount(SkUnichar uni) {
if (ctx) {
return ctx->fBaseGlyphCount;
} else {
+ SkDEBUGF(("--- no context for char %x\n", uni));
return this->fBaseGlyphCount;
}
}