зеркало из https://github.com/mozilla/moz-skia.git
oops, fix name for SkCreateDataProviderFromData
git-svn-id: http://skia.googlecode.com/svn/trunk@8375 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
12b1f19c1f
Коммит
50b14a26dc
|
@ -61,6 +61,7 @@ bool SkPDFDocumentToBitmap(SkStream* stream, SkBitmap* output);
|
|||
* Now when the provider is finally deleted, it will delete the stream.
|
||||
*/
|
||||
CGDataProviderRef SkCreateDataProviderFromStream(SkStream*);
|
||||
CGDataProviderRef SkCreateDataProviderFromStream(SkData*);
|
||||
|
||||
CGDataProviderRef SkCreateDataProviderFromData(SkData*);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -60,7 +60,7 @@ CGDataProviderRef SkCreateDataProviderFromStream(SkStream* stream) {
|
|||
|
||||
#include "SkData.h"
|
||||
|
||||
CGDataProviderRef SkCreateDataProviderFromStream(SkData* data) {
|
||||
CGDataProviderRef SkCreateDataProviderFromData(SkData* data) {
|
||||
data->ref();
|
||||
return CGDataProviderCreateWithData(data, data->data(), data->size(),
|
||||
unref_proc);
|
||||
|
|
Загрузка…
Ссылка в новой задаче