From 2e5e96e9f06b3853dcade61c0aceb0dbaaff3032 Mon Sep 17 00:00:00 2001 From: Fabrice Di Meglio Date: Wed, 30 Nov 2011 20:08:16 -0800 Subject: [PATCH] TextLayoutCache Code cleaning - remove commented code - fix log Change-Id: I8495b923c9426e33e645fe85ea04005520716f4e --- core/jni/android/graphics/TextLayoutCache.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/jni/android/graphics/TextLayoutCache.cpp b/core/jni/android/graphics/TextLayoutCache.cpp index b08946679545d..9c0ecaa628d18 100644 --- a/core/jni/android/graphics/TextLayoutCache.cpp +++ b/core/jni/android/graphics/TextLayoutCache.cpp @@ -328,10 +328,6 @@ uint32_t TextLayoutCacheValue::getElapsedTime() { return mElapsedTime; } -//HB_ShaperItem TextLayoutEngine::mShaperItem; -//HB_FontRec TextLayoutEngine::mFontRec; -//SkPaint TextLayoutEngine::mShapingPaint; - TextLayoutEngine::TextLayoutEngine() : mShaperItemGlyphArraySize(0), mShaperItemLogClustersArraySize(0) { mDefaultTypeface = SkFontHost::CreateTypeface(NULL, NULL, NULL, 0, SkTypeface::kNormal); @@ -487,7 +483,7 @@ void TextLayoutEngine::computeValues(SkPaint* paint, const UChar* chars, // Default single run case if (useSingleRun){ #if DEBUG_GLYPHS - LOGD("Using a SINGLE ICURun " + LOGD("Using a SINGLE BiDi Run " "-- run-start = %d, run-len = %d, isRTL = %d", start, count, isRTL); #endif computeRunValues(paint, chars + start, count, isRTL,