| Index: third_party/WebKit/Source/core/css/MediaValuesCached.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/MediaValuesCached.cpp b/third_party/WebKit/Source/core/css/MediaValuesCached.cpp
|
| index 604177d4fc76c2b81818d90c32f1e384397bfd99..4846765f41370e2167606e4577182a75e9d82450 100644
|
| --- a/third_party/WebKit/Source/core/css/MediaValuesCached.cpp
|
| +++ b/third_party/WebKit/Source/core/css/MediaValuesCached.cpp
|
| @@ -35,12 +35,13 @@ MediaValuesCached::MediaValuesCachedData::MediaValuesCachedData()
|
| MediaValuesCached::MediaValuesCachedData::MediaValuesCachedData(
|
| Document& document)
|
| : MediaValuesCached::MediaValuesCachedData() {
|
| - ASSERT(isMainThread());
|
| + DCHECK(isMainThread());
|
| LocalFrame* frame = MediaValues::frameFrom(document);
|
| // TODO(hiroshige): Clean up |frame->view()| conditions.
|
| - ASSERT(!frame || frame->view());
|
| + DCHECK(!frame || frame->view());
|
| if (frame && frame->view()) {
|
| - ASSERT(frame->document() && !frame->document()->layoutViewItem().isNull());
|
| + DCHECK(frame->document());
|
| + DCHECK(!frame->document()->layoutViewItem().isNull());
|
|
|
| // In case that frame is missing (e.g. for images that their document does
|
| // not have a frame)
|
|
|