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); |
} |