| Index: samplecode/SamplePdfFileViewer.cpp | 
| diff --git a/samplecode/SamplePdfFileViewer.cpp b/samplecode/SamplePdfFileViewer.cpp | 
| index 6faea55b173fc959b82a2c9cf28c96b0557eb86c..747f729d3e0c6eb7b9b4c113490277e505d9a705 100644 | 
| --- a/samplecode/SamplePdfFileViewer.cpp | 
| +++ b/samplecode/SamplePdfFileViewer.cpp | 
| @@ -5,6 +5,8 @@ | 
| * found in the LICENSE file. | 
| */ | 
|  | 
| +#include "SkTypes.h" | 
| + | 
| #ifdef SAMPLE_PDF_FILE_VIEWER | 
|  | 
| #include "SampleCode.h" | 
| @@ -40,7 +42,7 @@ private: | 
| return NULL; | 
| } | 
|  | 
| -        SkPicture* pic = SkNEW(SkPicture); | 
| +        SkPicture* pic = new SkPicture; | 
| SkCanvas* canvas = pic->beginRecording((int) renderer->MediaBox(0).width(), | 
| (int) renderer->MediaBox(0).height()); | 
| renderer->renderPage(0, canvas, renderer->MediaBox(0)); | 
|  |