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

Commit f9104e33 authored by Raph Levien's avatar Raph Levien Committed by Android (Google) Code Review
Browse files

Merge "Follow the constructor signature change in Minikin." into nyc-dev

parents 0e2e7806 b93872ad
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -24,7 +24,8 @@ namespace android {

MinikinFontSkia::MinikinFontSkia(SkTypeface* typeface, const void* fontData, size_t fontSize,
        int ttcIndex) :
    mTypeface(typeface), mFontData(fontData), mFontSize(fontSize), mTtcIndex(ttcIndex) {
    MinikinFont(typeface->uniqueID()), mTypeface(typeface), mFontData(fontData),
    mFontSize(fontSize), mTtcIndex(ttcIndex) {
}

MinikinFontSkia::~MinikinFontSkia() {
@@ -99,10 +100,6 @@ int MinikinFontSkia::GetFontIndex() const {
    return mTtcIndex;
}

int32_t MinikinFontSkia::GetUniqueId() const {
    return mTypeface->uniqueID();
}

uint32_t MinikinFontSkia::packPaintFlags(const SkPaint* paint) {
    uint32_t flags = paint->getFlags();
    SkPaint::Hinting hinting = paint->getHinting();
+0 −2
Original line number Diff line number Diff line
@@ -41,8 +41,6 @@ public:

    const void* GetTable(uint32_t tag, size_t* size, MinikinDestroyFunc* destroy);

    int32_t GetUniqueId() const;

    SkTypeface* GetSkTypeface() const;

    // Access to underlying raw font bytes