Index: base/debug/gdi_debug_util_win.h |
diff --git a/base/debug/gdi_debug_util_win.h b/base/debug/gdi_debug_util_win.h |
index 5887ecb8464184e63013a374fa5d9bb701e207ba..3383a4d522d585d55e8a0923a902d813f2a65956 100644 |
--- a/base/debug/gdi_debug_util_win.h |
+++ b/base/debug/gdi_debug_util_win.h |
@@ -12,10 +12,12 @@ |
namespace base { |
namespace debug { |
-// Crashes the process leaving valuable information on the dump via |
-// debug::alias so we can find what is causing the allocation failures. |
-void BASE_EXPORT GDIBitmapAllocFailure(BITMAPINFOHEADER* header, |
- HANDLE shared_section); |
+// Crashes the process, using base::debug::Alias to leave valuable debugging |
+// information in the crash dump. Pass values for |header| and |shared_section| |
+// in the event of a bitmap allocation failure, to gather information about |
+// those as well. |
+void BASE_EXPORT CollectGDIUsageAndDie(BITMAPINFOHEADER* header = nullptr, |
+ HANDLE shared_section = nullptr); |
} // namespace debug |
} // namespace base |