diff options
author | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-06-28 21:57:51 +0000 |
---|---|---|
committer | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-06-28 21:57:51 +0000 |
commit | 1e34b34a6caf16318945b6e933e5017e9ee89d7c (patch) | |
tree | 262ed3ccda3cb2e2fc8829854178412eed032897 /platform_tools/nacl/src | |
parent | 0e0180a176b22fe0b6f8015aa234b8571242f761 (diff) |
Use CreateFromStream in nacl debugger.
Review URL: https://codereview.chromium.org/18153012
git-svn-id: http://skia.googlecode.com/svn/trunk@9824 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'platform_tools/nacl/src')
-rw-r--r-- | platform_tools/nacl/src/nacl_debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform_tools/nacl/src/nacl_debugger.cpp b/platform_tools/nacl/src/nacl_debugger.cpp index 26e3ed67c7..c129ed8432 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; |