| Index: third_party/WebKit/Source/core/dom/ActiveDOMObject.h
|
| diff --git a/third_party/WebKit/Source/core/dom/ActiveDOMObject.h b/third_party/WebKit/Source/core/dom/ActiveDOMObject.h
|
| index d916f25b303888012dd00fd32e51d7b6221b575c..bc898e8518d13e643dea4f14774b2683d08a279a 100644
|
| --- a/third_party/WebKit/Source/core/dom/ActiveDOMObject.h
|
| +++ b/third_party/WebKit/Source/core/dom/ActiveDOMObject.h
|
| @@ -40,7 +40,7 @@ public:
|
| // suspendIfNeeded() should be called exactly once after object construction to synchronize
|
| // the suspend state with that in ExecutionContext.
|
| void suspendIfNeeded();
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| bool suspendIfNeededCalled() const { return m_suspendIfNeededCalled; }
|
| #endif
|
|
|
| @@ -56,7 +56,7 @@ protected:
|
| virtual ~ActiveDOMObject();
|
|
|
| private:
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| bool m_suspendIfNeededCalled;
|
| #endif
|
| };
|
|
|