diff options
author | chudy@google.com <chudy@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-14 19:38:31 +0000 |
---|---|---|
committer | chudy@google.com <chudy@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-14 19:38:31 +0000 |
commit | 4c7962e0a866b8416fa7046791c129eb5430b677 (patch) | |
tree | 16c40d0e6c9392ea77f6090bd6408b9d30ebf8a9 /debugger/QT | |
parent | b8ec32e050ab7151eb5660c37edf36a1119f2255 (diff) |
Bug Fix: Fixes transformation bug where debugger locked up during incremental draw due to nested clips not being cleared.
Review URL: https://codereview.appspot.com/6462060
git-svn-id: http://skia.googlecode.com/svn/trunk@5095 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'debugger/QT')
-rw-r--r-- | debugger/QT/SkDebuggerGUI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debugger/QT/SkDebuggerGUI.cpp b/debugger/QT/SkDebuggerGUI.cpp index f5c78d6ead..a03c87876d 100644 --- a/debugger/QT/SkDebuggerGUI.cpp +++ b/debugger/QT/SkDebuggerGUI.cpp @@ -577,7 +577,7 @@ void SkDebuggerGUI::loadPicture(QString fileName) { SkPicture* picture = new SkPicture(stream); fCanvasWidget.resetWidgetTransform(); fDebugger.loadPicture(picture); - fCanvasWidget.drawTo(fDebugger.index()); + SkSafeUnref(stream); SkSafeUnref(picture); |