Fix debugger compilation
TBR=bsalomon@google.com
Review URL: https://codereview.chromium.org/1205933002
diff --git a/debugger/QT/SkGLWidget.cpp b/debugger/QT/SkGLWidget.cpp
index cd9350a..92c7b42 100644
--- a/debugger/QT/SkGLWidget.cpp
+++ b/debugger/QT/SkGLWidget.cpp
@@ -62,8 +62,9 @@
desc.fOrigin = kBottomLeft_GrSurfaceOrigin;
SkAutoTUnref<GrRenderTarget> curRenderTarget(
fCurContext->textureProvider()->wrapBackendRenderTarget(desc));
- SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType);
- fGpuDevice.reset(SkGpuDevice::Create(curRenderTarget, &props));
+ SkSurfaceProps props(0, kUnknown_SkPixelGeometry);
+ fGpuDevice.reset(SkGpuDevice::Create(curRenderTarget, &props,
+ SkGpuDevice::kUninit_InitContents));
fCanvas.reset(new SkCanvas(fGpuDevice));
}