Index: debugger/QT/SkDebuggerGUI.cpp |
diff --git a/debugger/QT/SkDebuggerGUI.cpp b/debugger/QT/SkDebuggerGUI.cpp |
index cd888b249c2634b071e6c84fd3882510b8215a76..d86e3786f1f17507deb25b1420f089a8d2e87900 100644 |
--- a/debugger/QT/SkDebuggerGUI.cpp |
+++ b/debugger/QT/SkDebuggerGUI.cpp |
@@ -725,7 +725,7 @@ void SkDebuggerGUI::setupDirectoryWidget(const QString& path) { |
void SkDebuggerGUI::loadPicture(const SkString& fileName) { |
fFileName = fileName; |
fLoading = true; |
- SkAutoTDelete<SkStream> stream(SkNEW_ARGS(SkFILEStream, (fileName.c_str()))); |
+ SkAutoTDelete<SkStream> stream(new SkFILEStream(fileName.c_str())); |
SkPicture* picture = SkPicture::CreateFromStream(stream); |