aboutsummaryrefslogtreecommitdiffhomepage
path: root/debugger/QT
diff options
context:
space:
mode:
Diffstat (limited to 'debugger/QT')
-rw-r--r--debugger/QT/SkDebuggerGUI.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/debugger/QT/SkDebuggerGUI.cpp b/debugger/QT/SkDebuggerGUI.cpp
index 4422334496..0d009b3ffa 100644
--- a/debugger/QT/SkDebuggerGUI.cpp
+++ b/debugger/QT/SkDebuggerGUI.cpp
@@ -281,8 +281,9 @@ void SkDebuggerGUI::saveToFile(const SkString& filename) {
SkFILEWStream file(filename.c_str());
SkAutoTUnref<SkPicture> copy(fDebugger.copyPicture());
- sk_tool_utils::PngPixelSerializer serializer;
- copy->serialize(&file, &serializer);
+ SkAutoTUnref<SkPixelSerializer> serializer(
+ SkImageEncoder::CreatePixelSerializer());
+ copy->serialize(&file, serializer);
}
void SkDebuggerGUI::loadFile(QListWidgetItem *item) {