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

Commit 17761233 authored by Ben Wagner's avatar Ben Wagner
Browse files

Remove last mention of SkFontHost.

SkFontHost is now almost removed from Skia, and nothing is left in it
which interests Android. Remove the last few references to it to aid
in final removal.

Change-Id: I7d59cf7e08bdd5b9c3923c9ffaf03b1cc2f9f7b4
parent e873e5f3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -237,8 +237,8 @@ AndroidRuntime::AndroidRuntime(char* argBlockStart, const size_t argBlockLength)
        mArgBlockLength(argBlockLength)
{
    SkGraphics::Init();
    // There is also a global font cache, but its budget is specified in code
    // see SkFontHost_android.cpp
    // There is also a global font cache, but its budget is specified by
    // SK_DEFAULT_FONT_CACHE_COUNT_LIMIT and SK_DEFAULT_FONT_CACHE_LIMIT.

    // Pre-allocate enough space to hold a fair number of options.
    mOptions.setCapacity(20);
+1 −1
Original line number Diff line number Diff line
@@ -33,11 +33,11 @@
#include "HarfBuzzNGFaceSkia.h"

#include <cutils/log.h>
#include <SkFontHost.h>
#include <SkPaint.h>
#include <SkPath.h>
#include <SkPoint.h>
#include <SkRect.h>
#include <SkTypeface.h>
#include <SkUtils.h>

#include <hb.h>