Index: platform_tools/nacl/src/nacl_debugger.cpp |
diff --git a/platform_tools/nacl/src/nacl_debugger.cpp b/platform_tools/nacl/src/nacl_debugger.cpp |
index 26e3ed67c725649957eb61c2a1d5939560ec349e..c129ed8432441d6bfb452965d2d2f88ea603a3f7 100644 |
--- a/platform_tools/nacl/src/nacl_debugger.cpp |
+++ b/platform_tools/nacl/src/nacl_debugger.cpp |
@@ -68,7 +68,7 @@ public: |
return; |
} |
SkMemoryStream pictureStream(decodedData.getData(), decodedSize); |
- fPicture = new SkPicture(&pictureStream); |
+ fPicture = SkPicture::CreateFromStream(&pictureStream); |
if (fPicture->width() == 0 || fPicture->height() == 0) { |
SkDebugf("Failed to create SKP.\n"); |
return; |