| Index: Source/bindings/core/v8/ScriptPromiseResolver.h
|
| diff --git a/Source/bindings/core/v8/ScriptPromiseResolver.h b/Source/bindings/core/v8/ScriptPromiseResolver.h
|
| index 0e424142723dd32025bec19cb2c4ec2d9fb1925c..93af3239390f18e6125c06588691ef6aba4d6f10 100644
|
| --- a/Source/bindings/core/v8/ScriptPromiseResolver.h
|
| +++ b/Source/bindings/core/v8/ScriptPromiseResolver.h
|
| @@ -69,7 +69,7 @@ public:
|
| // reject is called.
|
| ScriptPromise promise()
|
| {
|
| -#if ASSERT_ENABLED
|
| +#if ENABLE(ASSERT)
|
| m_isPromiseCalled = true;
|
| #endif
|
| return m_resolver.promise();
|
| @@ -137,7 +137,7 @@ private:
|
| Timer<ScriptPromiseResolver> m_timer;
|
| Resolver m_resolver;
|
| ScopedPersistent<v8::Value> m_value;
|
| -#if ASSERT_ENABLED
|
| +#if ENABLE(ASSERT)
|
| // True if promise() is called.
|
| bool m_isPromiseCalled;
|
| #endif
|
|
|