Roll Skia to 7b971f0152299ae9a924252a9bfd220318497bdd

R=chinmaygarde@google.com

Review URL: https://codereview.chromium.org/1236953002 .
This commit is contained in:
Adam Barth 2015-07-13 12:54:08 -07:00
parent 4d05e3034a
commit 41c0803d32

View File

@ -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_);