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

Unified Diff: cc/resources/resource_provider.cc

Issue 2226193002: Not for commit: crash GPU process in glCreateGpuMemoryBufferImageCHROMIUM. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | content/gpu/gpu_child_thread.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 6ab684647b076a63d5a5ed3e3a343c6cc54de34c..c617f83777069721ed5b06262837bfa9bc8d512a 100644
--- a/cc/resources/resource_provider.cc
+++ b/cc/resources/resource_provider.cc
@@ -1850,9 +1850,9 @@ void ResourceProvider::LazyAllocate(Resource* resource) {
}
void ResourceProvider::LazyCreateImage(Resource* resource) {
- DCHECK(resource->gpu_memory_buffer);
- DCHECK(resource->gl_id);
- DCHECK(resource->allocated);
+ // DCHECK(resource->gpu_memory_buffer);
+ // DCHECK(resource->gl_id);
+ // DCHECK(resource->allocated);
// Avoid crashing in release builds if GpuMemoryBuffer allocation fails.
// http://crbug.com/554541
if (!resource->gpu_memory_buffer)
« no previous file with comments | « no previous file | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698