Fix debugger wrt to new SkGpuDevice factory signature'
Review URL: https://codereview.chromium.org/855083003
diff --git a/debugger/QT/SkGLWidget.cpp b/debugger/QT/SkGLWidget.cpp
index 1c524aa..1fbedf1 100644
--- a/debugger/QT/SkGLWidget.cpp
+++ b/debugger/QT/SkGLWidget.cpp
@@ -64,8 +64,8 @@
GrBackendRenderTargetDesc desc = this->getDesc(this->width(), this->height());
desc.fOrigin = kBottomLeft_GrSurfaceOrigin;
SkAutoTUnref<GrRenderTarget> curRenderTarget(fCurContext->wrapBackendRenderTarget(desc));
- fGpuDevice.reset(SkGpuDevice::Create(curRenderTarget.get(),
- SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType)));
+ SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType);
+ fGpuDevice.reset(SkGpuDevice::Create(curRenderTarget, &props));
fCanvas.reset(new SkCanvas(fGpuDevice));
}