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

Commit fbfd47e5 authored by Raph Levien's avatar Raph Levien Committed by android-build-merger
Browse files

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

am: fda187f0

* commit 'fda187f0':
  Follow the constructor signature change in Minikin.

Change-Id: I3a6ffcc1178b0909cd2633041f629ac5a45d8691
parents dd1a2a3b fda187f0
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