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

Unified Diff: sky/shell/gpu/ganesh_surface.cc

Issue 1236953002: Roll Skia to 7b971f0152299ae9a924252a9bfd220318497bdd (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: now with less crash on startup Created 5 years, 5 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 | « sky/engine/platform/graphics/skia/SkiaUtils.cpp ('k') | ui/gl/gl_bindings_skia_in_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/gpu/ganesh_surface.cc
diff --git a/sky/shell/gpu/ganesh_surface.cc b/sky/shell/gpu/ganesh_surface.cc
index e64853f8e83d80a5efb6b134c80456f9cbf6c2a4..bc175aeb50593a1e5b3e69eee64a28a5ba21fb94 100644
--- a/sky/shell/gpu/ganesh_surface.cc
+++ b/sky/shell/gpu/ganesh_surface.cc
@@ -20,7 +20,8 @@ GaneshSurface::GaneshSurface(intptr_t window_fbo,
desc.fOrigin = kBottomLeft_GrSurfaceOrigin;
desc.fRenderTargetHandle = window_fbo;
- auto target = skia::AdoptRef(context->gr()->wrapBackendRenderTarget(desc));
+ auto target = skia::AdoptRef(
+ context->gr()->textureProvider()->wrapBackendRenderTarget(desc));
DCHECK(target);
surface_ = skia::AdoptRef(SkSurface::NewRenderTargetDirect(target.get()));
DCHECK(surface_);
« no previous file with comments | « sky/engine/platform/graphics/skia/SkiaUtils.cpp ('k') | ui/gl/gl_bindings_skia_in_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698