aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar scroggo <scroggo@google.com>2015-01-21 12:23:20 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-21 12:23:20 -0800
commite58898ee3a0aafb855d0504a438520702578524b (patch)
treebda70b894c2178cf598fbef157f3c93b89ac6407
parenteae7fc09c6a44d5fc610b79dc5ab0631ddd02354 (diff)
Remove another caller of SkRef(SkStream)
TBR=bungeman@google.com NOTRY=true NOTREECHECKS=true Review URL: https://codereview.chromium.org/860353005
-rw-r--r--src/ports/SkFontHost_linux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ports/SkFontHost_linux.cpp b/src/ports/SkFontHost_linux.cpp
index b6fab622e8..04792f8bf2 100644
--- a/src/ports/SkFontHost_linux.cpp
+++ b/src/ports/SkFontHost_linux.cpp
@@ -85,7 +85,7 @@ public:
SkTypeface_Stream(const SkFontStyle& style, bool isFixedPitch, bool sysFont,
const SkString familyName, SkStream* stream, int index)
: INHERITED(style, isFixedPitch, sysFont, familyName, index)
- , fStream(SkRef(stream))
+ , fStream(stream)
{ }
const char* getUniqueString() const SK_OVERRIDE { return NULL; }