Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e5e96e9 authored by Fabrice Di Meglio's avatar Fabrice Di Meglio
Browse files

TextLayoutCache Code cleaning

- remove commented code
- fix log

Change-Id: I8495b923c9426e33e645fe85ea04005520716f4e
parent a90d6526
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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,