Chromium Code Reviews| Index: third_party/WebKit/Source/wtf/text/StringConcatenate.h |
| diff --git a/third_party/WebKit/Source/wtf/text/StringConcatenate.h b/third_party/WebKit/Source/wtf/text/StringConcatenate.h |
| index 63a7c4e296292295007d7a15bff37fa10dac4e9e..10d970a52cb39d154021bc5b82f224920097b114 100644 |
| --- a/third_party/WebKit/Source/wtf/text/StringConcatenate.h |
| +++ b/third_party/WebKit/Source/wtf/text/StringConcatenate.h |
| @@ -171,9 +171,13 @@ public: |
| bool is8Bit() { return false; } |
| +#if defined(OFFICIAL_BUILD) && defined(NDEBUG) |
|
Yuta Kitamura
2016/05/20 07:12:56
Is there any reason this is guarded with
OFFICIAL_
kotenkov
2016/05/24 07:50:06
It does, but compiler doesn't have a way to see it
|
| NO_RETURN_DUE_TO_CRASH void writeTo(LChar*) |
| +#else |
| + void writeTo(LChar*) |
| +#endif |
| { |
| - RELEASE_ASSERT(false); |
| + CHECK(false); |
| } |
| void writeTo(UChar* destination); |