| Index: third_party/WebKit/Source/core/frame/FrameHost.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameHost.cpp b/third_party/WebKit/Source/core/frame/FrameHost.cpp
|
| index 9ca7e6d8920da56a59fac1a6a21b73f2e792b6d4..ac2dae81ba519e71df74a365b5da0c099c16bbf7 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameHost.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameHost.cpp
|
| @@ -173,7 +173,7 @@ DEFINE_TRACE(FrameHost) {
|
| visitor->trace(m_globalRootScrollerController);
|
| }
|
|
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| void checkFrameCountConsistency(int expectedFrameCount, Frame* frame) {
|
| ASSERT(expectedFrameCount >= 0);
|
|
|
| @@ -186,7 +186,7 @@ void checkFrameCountConsistency(int expectedFrameCount, Frame* frame) {
|
| #endif
|
|
|
| int FrameHost::subframeCount() const {
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| checkFrameCountConsistency(m_subframeCount + 1, m_page->mainFrame());
|
| #endif
|
| return m_subframeCount;
|
|
|