Index: debugger/QT/SkGLWidget.cpp |
diff --git a/debugger/QT/SkGLWidget.cpp b/debugger/QT/SkGLWidget.cpp |
index bd24d4e3cbcc85617b6974d1fd6444fb077e2dd5..dece6419ab1c38ac68b8c31d6f06eefb14457e12 100644 |
--- a/debugger/QT/SkGLWidget.cpp |
+++ b/debugger/QT/SkGLWidget.cpp |
@@ -47,8 +47,7 @@ |
GrBackendRenderTargetDesc desc = this->getDesc(this->width(), this->height()); |
desc.fOrigin = kBottomLeft_GrSurfaceOrigin; |
GrRenderTarget* curRenderTarget = fCurContext->wrapBackendRenderTarget(desc); |
- fGpuDevice = SkGpuDevice::Create(curRenderTarget, |
- SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType)); |
+ fGpuDevice = SkGpuDevice::Create(curRenderTarget); |
fCanvas = new SkCanvas(fGpuDevice); |
curRenderTarget->unref(); |
} |
@@ -66,8 +65,7 @@ |
GrRenderTarget* curRenderTarget = fCurContext->wrapBackendRenderTarget(desc); |
SkSafeUnref(fGpuDevice); |
SkSafeUnref(fCanvas); |
- fGpuDevice = SkGpuDevice::Create(curRenderTarget, |
- SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType)); |
+ fGpuDevice = SkGpuDevice::Create(curRenderTarget); |
fCanvas = new SkCanvas(fGpuDevice); |
} |
fDebugger->setWindowSize(w, h); |