aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkTypeface_remote.h
diff options
context:
space:
mode:
authorGravatar Herb Derby <herb@google.com>2018-01-26 16:47:54 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-02-01 22:01:54 +0000
commitb2922f64a8a4539e6c5466d4908727d92ab71fe5 (patch)
tree9ff1a8b7fcb85f6c9f02adb90062fad9e6935f82 /src/core/SkTypeface_remote.h
parenta12c419679e5b37b6140a2b33d207fb00a2b891a (diff)
Consolidate all the id handling and caching code.
BUG=skia:7515 Change-Id: Iab31e8cadfaa1ce09d85aab9cc84a3e614ea5e45 Reviewed-on: https://skia-review.googlesource.com/100420 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Herb Derby <herb@google.com>
Diffstat (limited to 'src/core/SkTypeface_remote.h')
-rw-r--r--src/core/SkTypeface_remote.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/SkTypeface_remote.h b/src/core/SkTypeface_remote.h
index 33021547cd..8f47434e18 100644
--- a/src/core/SkTypeface_remote.h
+++ b/src/core/SkTypeface_remote.h
@@ -71,13 +71,11 @@ class SkTypefaceProxy : public SkTypeface {
public:
SkTypefaceProxy(
SkFontID fontId,
- std::thread::id threadId,
const SkFontStyle& style,
bool isFixed,
SkRemoteScalerContext* rsc)
: INHERITED{style, false}
, fFontId{fontId}
- , fThreadId{threadId}
, fRsc{rsc} { }
SkFontID fontID() const {return fFontId;}
protected:
@@ -150,7 +148,7 @@ protected:
private:
const SkFontID fFontId;
- const std::thread::id fThreadId;
+ // const std::thread::id fThreadId; // TODO: figure out a good solutions for this.
SkRemoteScalerContext* const fRsc;
typedef SkTypeface INHERITED;