Index: debugger/QT/SkDebuggerGUI.cpp |
diff --git a/debugger/QT/SkDebuggerGUI.cpp b/debugger/QT/SkDebuggerGUI.cpp |
index 0d009b3ffa57883df5b8609afe4b908e254b41c7..4422334496e70ef9e1848bc2d0950b646baaff69 100644 |
--- a/debugger/QT/SkDebuggerGUI.cpp |
+++ b/debugger/QT/SkDebuggerGUI.cpp |
@@ -281,9 +281,8 @@ |
SkFILEWStream file(filename.c_str()); |
SkAutoTUnref<SkPicture> copy(fDebugger.copyPicture()); |
- SkAutoTUnref<SkPixelSerializer> serializer( |
- SkImageEncoder::CreatePixelSerializer()); |
- copy->serialize(&file, serializer); |
+ sk_tool_utils::PngPixelSerializer serializer; |
+ copy->serialize(&file, &serializer); |
} |
void SkDebuggerGUI::loadFile(QListWidgetItem *item) { |