Make debugger raster window background black

Make debugger raster window background black. This helps to understand
where the picture boundaries are. It is probably more common for pictures to
have non-black background vs non-white background.

This makes raster window similar to opengl window.

Review URL: https://codereview.chromium.org/816363002
This commit is contained in:
kkinnunen 2014-12-22 05:56:45 -08:00 committed by Commit bot
parent eeb4e26093
commit 534c63ea91

View File

@ -14,7 +14,7 @@ SkRasterWidget::SkRasterWidget(SkDebugger *debugger) : QWidget() {
fDevice = new SkBitmapDevice(fBitmap);
fDebugger = debugger;
fCanvas = new SkCanvas(fDevice);
this->setStyleSheet("QWidget {background-color: white; border: 1px solid #cccccc;}");
this->setStyleSheet("QWidget {background-color: black; border: 1px solid #cccccc;}");
}
SkRasterWidget::~SkRasterWidget() {