diff options
Diffstat (limited to 'Source/WebKit2/WebProcess/WebProcess.cpp')
-rw-r--r-- | Source/WebKit2/WebProcess/WebProcess.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit2/WebProcess/WebProcess.cpp b/Source/WebKit2/WebProcess/WebProcess.cpp index d0981071f..9a8b905fe 100644 --- a/Source/WebKit2/WebProcess/WebProcess.cpp +++ b/Source/WebKit2/WebProcess/WebProcess.cpp @@ -100,7 +100,8 @@ static void sleep(unsigned seconds) } #endif -static void* randomCrashThread(void*) +static void randomCrashThread(void*) NO_RETURN_DUE_TO_CRASH; +void randomCrashThread(void*) { // This delay was chosen semi-arbitrarily. We want the crash to happen somewhat quickly to // enable useful stress testing, but not so quickly that the web process will always crash soon @@ -109,7 +110,6 @@ static void* randomCrashThread(void*) sleep(randomNumber() * maximumRandomCrashDelay); CRASH(); - return 0; } static void startRandomCrashThreadIfRequested() |