Index: samplecode/SamplePicture.cpp |
diff --git a/samplecode/SamplePicture.cpp b/samplecode/SamplePicture.cpp |
index 825e561654284a0575a097ad444669cc01ca0769..7ae87571af9b88b64329eddeaae2edc52daa84e5 100644 |
--- a/samplecode/SamplePicture.cpp |
+++ b/samplecode/SamplePicture.cpp |
@@ -34,7 +34,7 @@ |
static SkBitmap load_bitmap() { |
SkBitmap bm; |
- SkStream* stream = SkStream::NewFromFile("/skimages/sesame_street_ensemble-hp.jpg"); |
+ SkStreamAsset* stream = SkStream::NewFromFile("/skimages/sesame_street_ensemble-hp.jpg"); |
if (stream) { |
SkAutoUnref aur(stream); |