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

Unified Diff: cc/resources/resource_provider.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 | « DEPS ('k') | mojo/skia/ganesh_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/resource_provider.cc
diff --git a/cc/resources/resource_provider.cc b/cc/resources/resource_provider.cc
index 25f6597c9e4ec576e1931dc1ea832af1c4e31b50..b2bb61c3daac3ae05a2f6d4f3f1c8cc6942375ac 100644
--- a/cc/resources/resource_provider.cc
+++ b/cc/resources/resource_provider.cc
@@ -1147,7 +1147,7 @@ void ResourceProvider::ScopedWriteLockGr::InitSkSurface(
class GrContext* gr_context =
resource_provider_->GrContext(use_worker_context);
skia::RefPtr<GrTexture> gr_texture =
- skia::AdoptRef(gr_context->wrapBackendTexture(desc));
+ skia::AdoptRef(gr_context->textureProvider()->wrapBackendTexture(desc));
if (gr_texture) {
uint32_t flags = use_distance_field_text
? SkSurfaceProps::kUseDistanceFieldFonts_Flag
« no previous file with comments | « DEPS ('k') | mojo/skia/ganesh_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698