| Index: third_party/WebKit/Source/wtf/WTF.cpp
|
| diff --git a/third_party/WebKit/Source/wtf/WTF.cpp b/third_party/WebKit/Source/wtf/WTF.cpp
|
| index 94200befa85cac115a8a15e9bd19447d78326056..6129847b5eca6341f79bbb7ae55e47a448acf482 100644
|
| --- a/third_party/WebKit/Source/wtf/WTF.cpp
|
| +++ b/third_party/WebKit/Source/wtf/WTF.cpp
|
| @@ -65,8 +65,8 @@ void initialize(void (*callOnMainThreadFunction)(MainThreadFunction, void*))
|
| {
|
| // WTF, and Blink in general, cannot handle being re-initialized, even if shutdown first.
|
| // Make that explicit here.
|
| - CHECK(!s_initialized);
|
| - CHECK(!s_shutdown);
|
| + RELEASE_ASSERT(!s_initialized);
|
| + RELEASE_ASSERT(!s_shutdown);
|
| s_initialized = true;
|
| initializeThreading();
|
|
|
| @@ -78,8 +78,8 @@ void initialize(void (*callOnMainThreadFunction)(MainThreadFunction, void*))
|
|
|
| void shutdown()
|
| {
|
| - CHECK(s_initialized);
|
| - CHECK(!s_shutdown);
|
| + RELEASE_ASSERT(s_initialized);
|
| + RELEASE_ASSERT(!s_shutdown);
|
| s_shutdown = true;
|
| }
|
|
|
|
|