Fix debugger compilation

TBR=bsalomon@google.com

Review URL: https://codereview.chromium.org/1205933002
This commit is contained in:
robertphillips 2015-06-24 10:09:57 -07:00 committed by Commit bot
parent 724ae2823e
commit 52d4deb128

View File

@ -62,8 +62,9 @@ void SkGLWidget::createRenderTarget() {
desc.fOrigin = kBottomLeft_GrSurfaceOrigin; desc.fOrigin = kBottomLeft_GrSurfaceOrigin;
SkAutoTUnref<GrRenderTarget> curRenderTarget( SkAutoTUnref<GrRenderTarget> curRenderTarget(
fCurContext->textureProvider()->wrapBackendRenderTarget(desc)); fCurContext->textureProvider()->wrapBackendRenderTarget(desc));
SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType); SkSurfaceProps props(0, kUnknown_SkPixelGeometry);
fGpuDevice.reset(SkGpuDevice::Create(curRenderTarget, &props)); fGpuDevice.reset(SkGpuDevice::Create(curRenderTarget, &props,
SkGpuDevice::kUninit_InitContents));
fCanvas.reset(new SkCanvas(fGpuDevice)); fCanvas.reset(new SkCanvas(fGpuDevice));
} }