| Index: third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
|
| index bd95d98353e658cdb3c1f3a8f19b80ccb1a2c971..c2931fc698a748d0ca5d495dd9e2909e20ca029a 100644
|
| --- a/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
|
| +++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
|
| @@ -81,14 +81,14 @@ public:
|
| explicit BatchedControlUpdate(MediaControls* controls)
|
| : m_controls(controls)
|
| {
|
| - ASSERT(isMainThread());
|
| - ASSERT(s_batchDepth >= 0);
|
| + DCHECK(isMainThread());
|
| + DCHECK_GE(s_batchDepth, 0);
|
| ++s_batchDepth;
|
| }
|
| ~BatchedControlUpdate()
|
| {
|
| - ASSERT(isMainThread());
|
| - ASSERT(s_batchDepth > 0);
|
| + DCHECK(isMainThread());
|
| + DCHECK_GT(s_batchDepth, 0);
|
| if (!(--s_batchDepth))
|
| m_controls->computeWhichControlsFit();
|
| }
|
|
|