From 41aa7b9fc3ae452215876143852024720383e102 Mon Sep 17 00:00:00 2001 From: Victoria Lease Date: Wed, 22 Aug 2012 16:50:47 -0700 Subject: 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 --- src/core/SkScalerContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- cgit v1.1