| Index: src/core/SkStreamPriv.h
|
| diff --git a/src/core/SkStreamPriv.h b/src/core/SkStreamPriv.h
|
| index 75f7cce8df720667c19e7515f484b2680e0ef974..ac822c1110ac78b0e03bf5a9d843b35f2205bdd3 100644
|
| --- a/src/core/SkStreamPriv.h
|
| +++ b/src/core/SkStreamPriv.h
|
| @@ -8,6 +8,8 @@
|
| #ifndef SkStreamPriv_DEFINED
|
| #define SkStreamPriv_DEFINED
|
|
|
| +#include "SkRefCnt.h"
|
| +
|
| class SkData;
|
| class SkStream;
|
| class SkWStream;
|
| @@ -23,7 +25,7 @@ class SkWStream;
|
| * will have a ref count of one upon return and belongs to the
|
| * caller. Returns nullptr on failure.
|
| */
|
| -SkData* SkCopyStreamToData(SkStream* stream);
|
| +sk_sp<SkData> SkCopyStreamToData(SkStream* stream);
|
|
|
| /**
|
| * Copies the input stream from the current position to the end.
|
|
|