| Index: third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
|
| index c16c328bdb4d2858ef9a77cc10cf9455b9f26961..8f84ae25f1a8ea20c97c726b9420897f734f5234 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
|
| @@ -36,10 +36,6 @@ ScriptState::ScriptState(v8::Local<v8::Context> context,
|
| m_context(m_isolate, context),
|
| m_world(world),
|
| m_perContextData(V8PerContextData::create(context))
|
| -#if ENABLE(ASSERT)
|
| - ,
|
| - m_globalObjectDetached(false)
|
| -#endif
|
| {
|
| DCHECK(m_world);
|
| m_context.setWeak(this, &weakCallback);
|
| @@ -54,7 +50,7 @@ ScriptState::~ScriptState() {
|
| void ScriptState::detachGlobalObject() {
|
| ASSERT(!m_context.isEmpty());
|
| context()->DetachGlobal();
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| m_globalObjectDetached = true;
|
| #endif
|
| }
|
|
|