Index: src/ports/SkFontHost_linux.cpp |
diff --git a/src/ports/SkFontHost_linux.cpp b/src/ports/SkFontHost_linux.cpp |
index 4d4e6f171e3a3dfbd41f6f765bb76f96ee197940..d6a020067be9ec0d833947197cc28a511619e70e 100644 |
--- a/src/ports/SkFontHost_linux.cpp |
+++ b/src/ports/SkFontHost_linux.cpp |
@@ -86,7 +86,7 @@ public: |
protected: |
virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE { |
*ttcIndex = 0; |
- return SkRef(fStream.get()); |
+ return fStream->duplicate(); |
} |
private: |