commit | f530586c417800d086e6e727ecb1b31e678f4183 | [log] [tgz] |
---|---|---|
author | Florin Malita <fmalita@chromium.org> | Tue Nov 15 10:03:32 2016 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Nov 15 15:41:09 2016 +0000 |
tree | 5606ada8e35643dbeaf57bb020ef339a3aae2ab1 | |
parent | c73a1ecbed64652b3d7aa8dc6face9a2205ce830 [diff] [blame] |
Resurrect SkDebugger Can't let go <sniffle>. R=robertphillips@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4793 Change-Id: Ida5936d17af2ef60c3f50e27b4f4987a79165fa5 Reviewed-on: https://skia-review.googlesource.com/4793 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org>
diff --git a/debugger/QT/SkGLWidget.cpp b/debugger/QT/SkGLWidget.cpp index 5335da4..f95af84 100644 --- a/debugger/QT/SkGLWidget.cpp +++ b/debugger/QT/SkGLWidget.cpp
@@ -59,7 +59,7 @@ GrBackendRenderTargetDesc desc = this->getDesc(this->width(), this->height()); desc.fOrigin = kBottomLeft_GrSurfaceOrigin; - fGpuSurface = SkSurface::MakeFromBackendRenderTarget(fCurContext, desc, nullptr); + fGpuSurface = SkSurface::MakeFromBackendRenderTarget(fCurContext.get(), desc, nullptr); fCanvas = fGpuSurface->getCanvas(); }