| Index: third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
|
| index ed43b25ead964d0c04c40365213ceae7ebea5042..b60b02b9cf4110718e8006e4e30cff44e567b863 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
|
| @@ -140,7 +140,9 @@ class SourceStreamDataQueue {
|
|
|
| private:
|
| bool TryGetData(const uint8_t** data, size_t* length) {
|
| - ASSERT(mutex_.Locked());
|
| +#if DCHECK_IS_ON()
|
| + DCHECK(mutex_.Locked());
|
| +#endif
|
| if (!data_.IsEmpty()) {
|
| std::pair<const uint8_t*, size_t> next_data = data_.TakeFirst();
|
| *data = next_data.first;
|
|
|