| Index: third_party/WebKit/Source/modules/fetch/CompositeDataConsumerHandle.h
|
| diff --git a/third_party/WebKit/Source/modules/fetch/CompositeDataConsumerHandle.h b/third_party/WebKit/Source/modules/fetch/CompositeDataConsumerHandle.h
|
| index e2a95d2d87bb10a4d4e41d5b106daea6b406b34a..90f33cf3dc6ecfce5aa33cdd58600a34f0279165 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/CompositeDataConsumerHandle.h
|
| +++ b/third_party/WebKit/Source/modules/fetch/CompositeDataConsumerHandle.h
|
| @@ -37,7 +37,7 @@ public:
|
|
|
| private:
|
| RefPtr<Context> m_context;
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| WebThread* const m_thread;
|
| #endif
|
| };
|
| @@ -48,7 +48,7 @@ public:
|
| template<typename T>
|
| static std::unique_ptr<WebDataConsumerHandle> create(std::unique_ptr<WebDataConsumerHandle> handle, T* updater)
|
| {
|
| - ASSERT(handle);
|
| + DCHECK(handle);
|
| Updater* u = nullptr;
|
| std::unique_ptr<CompositeDataConsumerHandle> p = wrapUnique(new CompositeDataConsumerHandle(std::move(handle), &u));
|
| *updater = u;
|
|
|