| Index: tools/dump_record.cpp
 | 
| diff --git a/tools/dump_record.cpp b/tools/dump_record.cpp
 | 
| index 5d54f4d561c10c040fee0be22da29c4810f5b5c9..03ef93e58167eb1cd81a0fff39651cbe57198287 100644
 | 
| --- a/tools/dump_record.cpp
 | 
| +++ b/tools/dump_record.cpp
 | 
| @@ -46,12 +46,12 @@ int tool_main(int argc, char** argv) {
 | 
|              continue;
 | 
|          }
 | 
|  
 | 
| -        SkAutoTDelete<SkStream> stream(SkStream::NewFromFile(FLAGS_skps[i]));
 | 
| +        std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(FLAGS_skps[i]);
 | 
|          if (!stream) {
 | 
|              SkDebugf("Could not read %s.\n", FLAGS_skps[i]);
 | 
|              return 1;
 | 
|          }
 | 
| -        sk_sp<SkPicture> src(SkPicture::MakeFromStream(stream));
 | 
| +        sk_sp<SkPicture> src(SkPicture::MakeFromStream(stream.get()));
 | 
|          if (!src) {
 | 
|              SkDebugf("Could not read %s as an SkPicture.\n", FLAGS_skps[i]);
 | 
|              return 1;
 | 
| 
 |