Index: Source/bindings/core/v8/custom/V8WindowCustom.cpp |
diff --git a/Source/bindings/core/v8/custom/V8WindowCustom.cpp b/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
index b878669dea3169438ac9e3f6319351d9db4b82d4..1909d07907dff28a69aea1f75c80e543e8824f30 100644 |
--- a/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
+++ b/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
@@ -326,7 +326,7 @@ v8::Handle<v8::Value> DialogHandler::returnValue() const |
{ |
if (!m_scriptStateForDialogFrame) |
return v8Undefined(); |
- ASSERT(!m_scriptStateForDialogFrame->contextIsValid()); |
+ ASSERT(m_scriptStateForDialogFrame->contextIsValid()); |
v8::Isolate* isolate = m_scriptStateForDialogFrame->isolate(); |
v8::EscapableHandleScope handleScope(isolate); |