From 12b1f19c1f5f4e9fe64053fee73ee72e2a301ec1 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Mon, 25 Mar 2013 20:15:40 +0000 Subject: expose skdata -> cgdataprovider helper git-svn-id: http://skia.googlecode.com/svn/trunk@8374 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/utils/mac/SkCGUtils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/utils/mac/SkCGUtils.h b/include/utils/mac/SkCGUtils.h index 46f89960f8..84b95a4aac 100644 --- a/include/utils/mac/SkCGUtils.h +++ b/include/utils/mac/SkCGUtils.h @@ -19,6 +19,7 @@ #endif class SkBitmap; +class SkData; class SkStream; /** @@ -60,5 +61,6 @@ bool SkPDFDocumentToBitmap(SkStream* stream, SkBitmap* output); * Now when the provider is finally deleted, it will delete the stream. */ CGDataProviderRef SkCreateDataProviderFromStream(SkStream*); +CGDataProviderRef SkCreateDataProviderFromStream(SkData*); #endif -- cgit v1.2.3