Fix debugger compilation
authorrobertphillips <robertphillips@google.com>
Wed, 24 Jun 2015 17:09:57 +0000 (10:09 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 24 Jun 2015 17:09:57 +0000 (10:09 -0700)
TBR=bsalomon@google.com

Review URL: https://codereview.chromium.org/1205933002

debugger/QT/SkGLWidget.cpp

index cd9350a394e8774bf6ed3629846114066c678cd2..92c7b421abe5af1dbfbd183f607b1dfee598c888 100644 (file)
@@ -62,8 +62,9 @@ void SkGLWidget::createRenderTarget() {
     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));
 }