Chromium Code Reviews| Index: third_party/WebKit/public/platform/WebImageGenerator.h |
| diff --git a/third_party/WebKit/public/platform/WebImageGenerator.h b/third_party/WebKit/public/platform/WebImageGenerator.h |
| index 73cb2e8a899f8e2b89b4a3ef378d1b19afc627a0..53d9e055da6ac9413d8d0963df1650c71b18cf38 100644 |
| --- a/third_party/WebKit/public/platform/WebImageGenerator.h |
| +++ b/third_party/WebKit/public/platform/WebImageGenerator.h |
| @@ -31,6 +31,7 @@ |
| #ifndef WebImageGenerator_h |
| #define WebImageGenerator_h |
| +#include "SkRefCnt.h" |
| #include "WebCommon.h" |
| class SkData; |
| @@ -40,7 +41,7 @@ namespace blink { |
| class BLINK_PLATFORM_EXPORT WebImageGenerator { |
| public: |
| - static SkImageGenerator* create(SkData*); |
| + static std::unique_ptr<SkImageGenerator> create(sk_sp<SkData>); |
|
chrishtr
2017/02/17 17:14:51
It's not clear to me immediately from digging into
reed1
2017/02/17 18:13:28
Yes, that is why we changed the factory's signatur
|
| }; |
| } // namespace blink |