Index: third_party/WebKit/Source/wtf/text/StringStatics.cpp |
diff --git a/third_party/WebKit/Source/wtf/text/StringStatics.cpp b/third_party/WebKit/Source/wtf/text/StringStatics.cpp |
index 7d4890676d0f1fd77e58038399d9da0aa3d4434a..2bb0dbe5fc6bf8bc5138847c38e106e5ec92d968 100644 |
--- a/third_party/WebKit/Source/wtf/text/StringStatics.cpp |
+++ b/third_party/WebKit/Source/wtf/text/StringStatics.cpp |
@@ -71,7 +71,7 @@ NEVER_INLINE unsigned StringImpl::hashSlowCase() const { |
} |
void AtomicString::init() { |
- ASSERT(isMainThread()); |
+ DCHECK(isMainThread()); |
new (NotNull, (void*)&nullAtom) AtomicString; |
new (NotNull, (void*)&emptyAtom) AtomicString(""); |
@@ -87,7 +87,7 @@ PassRefPtr<StringImpl> addStaticASCIILiteral( |
} |
void StringStatics::init() { |
- ASSERT(isMainThread()); |
+ DCHECK(isMainThread()); |
// FIXME: These should be allocated at compile time. |
new (NotNull, (void*)&starAtom) AtomicString("*"); |