Fix no-gpu debugger.

Review URL: https://codereview.chromium.org/1262723005
This commit is contained in:
bungeman 2015-07-31 15:46:03 -07:00 committed by Commit bot
parent 7e97b0bad0
commit 76bb228106

View File

@ -42,7 +42,9 @@ SkCanvasWidget::SkCanvasWidget(QWidget* parent,
setWidgetVisibility(kGPU_WidgetType, true);
#endif
connect(&fRasterWidget, SIGNAL(drawComplete()), this->parentWidget(), SLOT(drawComplete()));
#if SK_SUPPORT_GPU
connect(&fGLWidget, SIGNAL(drawComplete()), this->parentWidget(), SLOT(drawComplete()));
#endif
}
SkCanvasWidget::~SkCanvasWidget() {}