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

Unified Diff: Source/wtf/Assertions.h

Issue 615593002: Remove unused functions WTFSetCrashHook, WTFInstallReportBacktraceOnCrashHook and WTFInvokeCrashHoo… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 | Source/wtf/Assertions.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/Assertions.h
diff --git a/Source/wtf/Assertions.h b/Source/wtf/Assertions.h
index c6221e6920c9c1a732740ba944b6954f6fa19bbd..5e5dd68b47895ba71002cb204e72d211a073d113 100644
--- a/Source/wtf/Assertions.h
+++ b/Source/wtf/Assertions.h
@@ -108,11 +108,6 @@ WTF_EXPORT void WTFGetBacktrace(void** stack, int* size);
WTF_EXPORT void WTFReportBacktrace(int framesToShow = 31);
WTF_EXPORT void WTFPrintBacktrace(void** stack, int size);
-typedef void (*WTFCrashHookFunction)();
-WTF_EXPORT void WTFSetCrashHook(WTFCrashHookFunction);
-WTF_EXPORT void WTFInvokeCrashHook();
-WTF_EXPORT void WTFInstallReportBacktraceOnCrashHook();
-
namespace WTF {
class WTF_EXPORT FrameToNameScope {
@@ -150,7 +145,6 @@ using WTF::FrameToNameScope;
#ifndef CRASH
#define CRASH() \
(WTFReportBacktrace(), \
- WTFInvokeCrashHook(), \
(*(int*)0xfbadbeef = 0), \
IMMEDIATE_CRASH())
#endif
« no previous file with comments | « no previous file | Source/wtf/Assertions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698