Index: debugger/QT/SkImageWidget.cpp |
diff --git a/debugger/QT/SkImageWidget.cpp b/debugger/QT/SkImageWidget.cpp |
index cac7e7dc122e547c5657b489a70d45b477e93a76..9e263008be9eb09a1941bfde1cbe75d0686a1b69 100644 |
--- a/debugger/QT/SkImageWidget.cpp |
+++ b/debugger/QT/SkImageWidget.cpp |
@@ -16,10 +16,10 @@ SkImageWidget::SkImageWidget(SkDebugger *debugger) |
, fDebugger(debugger) { |
this->setStyleSheet("QWidget {background-color: white; border: 1px solid #cccccc;}"); |
- SkImage::Info info; |
+ SkImageInfo info; |
info.fWidth = kImageWidgetWidth; |
info.fHeight = kImageWidgetHeight; |
- info.fColorType = SkImage::kPMColor_ColorType; |
+ info.fColorType = kPMColor_SkColorType; |
info.fAlphaType = kPremul_SkAlphaType; |
fSurface = SkSurface::NewRasterDirect(info, fPixels, 4 * kImageWidgetWidth); |