Index: debugger/QT/SkDebuggerGUI.cpp |
diff --git a/debugger/QT/SkDebuggerGUI.cpp b/debugger/QT/SkDebuggerGUI.cpp |
index a8d8f14c21715e6a34419ae777543135a7556e77..ea3564ca0d60d143b7900496092f808b6d24df47 100644 |
--- a/debugger/QT/SkDebuggerGUI.cpp |
+++ b/debugger/QT/SkDebuggerGUI.cpp |
@@ -12,6 +12,7 @@ |
#include "SkPictureRecord.h" |
#include <QListWidgetItem> |
#include <QtGui> |
+#include "sk_tool_utils.h" |
#if defined(SK_BUILD_FOR_WIN32) |
#include "SysTimer_windows.h" |
@@ -359,7 +360,8 @@ void SkDebuggerGUI::saveToFile(const SkString& filename) { |
SkFILEWStream file(filename.c_str()); |
SkAutoTUnref<SkPicture> copy(fDebugger.copyPicture()); |
- copy->serialize(&file); |
+ sk_tool_utils::PngPixelSerializer serializer; |
+ copy->serialize(&file, &serializer); |
} |
void SkDebuggerGUI::loadFile(QListWidgetItem *item) { |