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

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

Issue 936883002: Connect Sky and Ganesh in SkyShell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Address review comments Created 5 years, 10 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/shell/apk/src/org/domokit/sky/shell/SkyView.java ('k') | sky/shell/gpu/ganesh_surface.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 77833b34c76c828ac25cf31aa0321042a0cc2de9..6f5de8b25487439a1a8bd4184d423a31bc20b950 100644
--- a/sky/shell/gpu/ganesh_context.cc
+++ b/sky/shell/gpu/ganesh_context.cc
@@ -30,7 +30,7 @@ GaneshContext::GaneshContext(scoped_refptr<gfx::GLContext> gl_context)
gr_context_ = skia::AdoptRef(GrContext::Create(
kOpenGL_GrBackend, reinterpret_cast<GrBackendContext>(interface.get())));
- DCHECK(gr_context_);
+ DCHECK(gr_context_) << "Failed to create GrContext.";
gr_context_->setResourceCacheLimits(kMaxGaneshResourceCacheCount,
kMaxGaneshResourceCacheBytes);
}
« no previous file with comments | « sky/shell/apk/src/org/domokit/sky/shell/SkyView.java ('k') | sky/shell/gpu/ganesh_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698