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

Unified Diff: skia/ext/skia_utils_win.cc

Issue 2452933002: Collect information on the dump when GetDC fails. (Closed)
Patch Set: Remove excessive check for |header|. Created 4 years, 1 month 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 | « base/win/scoped_hdc.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/skia_utils_win.cc
diff --git a/skia/ext/skia_utils_win.cc b/skia/ext/skia_utils_win.cc
index ba2a204dd7dda7cef37a430302a5041b9f58a0db..f8f71f5994bc300c829a74c3c313e6935f67ea4f 100644
--- a/skia/ext/skia_utils_win.cc
+++ b/skia/ext/skia_utils_win.cc
@@ -214,7 +214,7 @@ HBITMAP CreateHBitmap(int width, int height, bool is_opaque,
// If CreateDIBSection() failed, try to get some useful information out
// before we crash for post-mortem analysis.
if (!hbitmap)
- base::debug::GDIBitmapAllocFailure(&hdr, shared_section);
+ base::debug::CollectGDIUsageAndDie(&hdr, shared_section);
return hbitmap;
}
« no previous file with comments | « base/win/scoped_hdc.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698