diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-06-07 07:01:06 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-06-07 07:01:06 +0000 |
commit | a009083bd10353b91903cab84362b0e744d3b3b7 (patch) | |
tree | d253a97ee41a4d87b42a67be546a68c3190eca09 /debugger/QT | |
parent | 6ede1fe62bbb4e98f4eff4e4afb1d20e1e070423 (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9471 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'debugger/QT')
-rw-r--r-- | debugger/QT/SkImageWidget.cpp | 4 | ||||
-rw-r--r-- | debugger/QT/SkImageWidget.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/debugger/QT/SkImageWidget.cpp b/debugger/QT/SkImageWidget.cpp index 76b6b21059..d852bf6da9 100644 --- a/debugger/QT/SkImageWidget.cpp +++ b/debugger/QT/SkImageWidget.cpp @@ -42,9 +42,9 @@ void SkImageWidget::paintEvent(QPaintEvent* event) { if (command->render(fSurface->getCanvas())) { QPoint origin(0,0); - QImage image((uchar*) fPixels, + QImage image((uchar*) fPixels, kImageWidgetWidth, - kImageWidgetHeight, + kImageWidgetHeight, QImage::Format_ARGB32_Premultiplied); painter.drawImage(origin, image); diff --git a/debugger/QT/SkImageWidget.h b/debugger/QT/SkImageWidget.h index f36857b420..7ee430f664 100644 --- a/debugger/QT/SkImageWidget.h +++ b/debugger/QT/SkImageWidget.h @@ -19,7 +19,7 @@ class SkImageWidget : public QWidget { public: SkImageWidget(SkDebugger* debugger); - + virtual ~SkImageWidget() { fSurface->unref(); } |