| Index: src/core/SkFontMgr.cpp
|
| diff --git a/src/core/SkFontMgr.cpp b/src/core/SkFontMgr.cpp
|
| index ca29e293efb1c5e606aef198dae217bda5a0616a..71289a67a6a0beb7dcffdc2d776b447b42ed4919 100644
|
| --- a/src/core/SkFontMgr.cpp
|
| +++ b/src/core/SkFontMgr.cpp
|
| @@ -7,10 +7,10 @@
|
|
|
| #include "SkFontMgr.h"
|
| #include "SkLazyPtr.h"
|
| +#include "SkStream.h"
|
| #include "SkTypes.h"
|
|
|
| class SkFontStyle;
|
| -class SkStream;
|
| class SkTypeface;
|
|
|
| class SkEmptyFontStyleSet : public SkFontStyleSet {
|
| @@ -68,7 +68,8 @@ protected:
|
| SkTypeface* onCreateFromData(SkData*, int) const SK_OVERRIDE {
|
| return NULL;
|
| }
|
| - SkTypeface* onCreateFromStream(SkStream*, int) const SK_OVERRIDE {
|
| + SkTypeface* onCreateFromStream(SkStream* stream, int) const SK_OVERRIDE {
|
| + SkDELETE(stream);
|
| return NULL;
|
| }
|
| SkTypeface* onCreateFromFile(const char[], int) const SK_OVERRIDE {
|
|
|