Fix debugger build by specifying nullptr for color space.

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2181733002

Review-Url: https://codereview.chromium.org/2181733002
This commit is contained in:
chrishtr 2016-07-25 11:21:34 -07:00 committed by Commit bot
parent 64665440ef
commit 20a272d024

View File

@ -63,7 +63,7 @@ void SkGLWidget::createRenderTarget() {
sk_sp<GrRenderTarget> curRenderTarget( sk_sp<GrRenderTarget> curRenderTarget(
fCurContext->textureProvider()->wrapBackendRenderTarget(desc)); fCurContext->textureProvider()->wrapBackendRenderTarget(desc));
SkSurfaceProps props(0, kUnknown_SkPixelGeometry); SkSurfaceProps props(0, kUnknown_SkPixelGeometry);
fGpuDevice.reset(SkGpuDevice::Make(std::move(curRenderTarget), &props, fGpuDevice.reset(SkGpuDevice::Make(std::move(curRenderTarget), nullptr, &props,
SkGpuDevice::kUninit_InitContents).release()); SkGpuDevice::kUninit_InitContents).release());
fCanvas.reset(new SkCanvas(fGpuDevice)); fCanvas.reset(new SkCanvas(fGpuDevice));
} }