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

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

Issue 1214263002: Fix corrupted rendering of images (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 | sky/shell/gpu/rasterizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/gpu/ganesh_context.cc
diff --git a/sky/shell/gpu/ganesh_context.cc b/sky/shell/gpu/ganesh_context.cc
index 6f5de8b25487439a1a8bd4184d423a31bc20b950..bd3bac33b0933e8aa59d9506d49fc3d716abd869 100644
--- a/sky/shell/gpu/ganesh_context.cc
+++ b/sky/shell/gpu/ganesh_context.cc
@@ -36,6 +36,7 @@ GaneshContext::GaneshContext(scoped_refptr<gfx::GLContext> gl_context)
}
GaneshContext::~GaneshContext() {
+ gr_context_->abandonContext();
}
} // namespace shell
« no previous file with comments | « no previous file | sky/shell/gpu/rasterizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698