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 4074bca184e6d2f9abe7adac93bc069707a38043..d8151fccc83f9bdded4b16785a3b7f4975bd8646 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp |
@@ -40,12 +40,12 @@ ScriptState::ScriptState(v8::Local<v8::Context> context, |
} |
ScriptState::~ScriptState() { |
- ASSERT(!per_context_data_); |
- ASSERT(context_.IsEmpty()); |
+ DCHECK(!per_context_data_); |
+ DCHECK(context_.IsEmpty()); |
} |
void ScriptState::DetachGlobalObject() { |
- ASSERT(!context_.IsEmpty()); |
+ DCHECK(!context_.IsEmpty()); |
GetContext()->DetachGlobal(); |
} |