Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2187)

Unified Diff: debugger/QT/SkGLWidget.cpp

Issue 1125543003: Get debugger compiling again (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: debugger/QT/SkGLWidget.cpp
diff --git a/debugger/QT/SkGLWidget.cpp b/debugger/QT/SkGLWidget.cpp
index 67202390247d99874dd02424c4f565b36fdc3309..cd9350a394e8774bf6ed3629846114066c678cd2 100644
--- a/debugger/QT/SkGLWidget.cpp
+++ b/debugger/QT/SkGLWidget.cpp
@@ -60,7 +60,8 @@ void SkGLWidget::createRenderTarget() {
GrBackendRenderTargetDesc desc = this->getDesc(this->width(), this->height());
desc.fOrigin = kBottomLeft_GrSurfaceOrigin;
- SkAutoTUnref<GrRenderTarget> curRenderTarget(fCurContext->wrapBackendRenderTarget(desc));
+ SkAutoTUnref<GrRenderTarget> curRenderTarget(
+ fCurContext->textureProvider()->wrapBackendRenderTarget(desc));
SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType);
fGpuDevice.reset(SkGpuDevice::Create(curRenderTarget, &props));
fCanvas.reset(new SkCanvas(fGpuDevice));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698