Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1000)

Unified Diff: src/ports/SkFontHost_linux.cpp

Issue 860353005: Remove another caller of SkRef(SkStream) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/SkFontHost_linux.cpp
diff --git a/src/ports/SkFontHost_linux.cpp b/src/ports/SkFontHost_linux.cpp
index b6fab622e8fcc776195f6e8719d66cde18aacd60..04792f8bf20486e9f69ccb8d498d9fd0702534de 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; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698