| commit | 59f46b81f8bdd1b524f5cc43bc27603f9604c71a | [log] [tgz] |
|---|---|---|
| author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Jul 10 17:30:58 2012 +0000 |
| committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Jul 10 17:30:58 2012 +0000 |
| tree | c074f4d76c87c4ab67e32405327a0c10201ed7e8 | |
| parent | 676e66096c60615bac52f365111596de5c4ca8a6 [diff] [blame] |
Fixed Windows compiler complaints http://codereview.appspot.com/6392044 git-svn-id: http://skia.googlecode.com/svn/trunk@4511 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp index e026df9..c5a9ca1 100644 --- a/samplecode/SampleApp.cpp +++ b/samplecode/SampleApp.cpp
@@ -1312,7 +1312,7 @@ fPicture->unref(); SkAutoDataUnref data(ostream.copyToData()); - SkMemoryStream istream(data.data(), data.size()); + SkMemoryStream istream(data->data(), data->size()); SkPicture pict(&istream); orig->drawPicture(pict); } else {