| 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 242bcccca3cad89a1beecc2b90207cd919e11c19..a1b92f224754722963d739922bc533813edf61ea 100644
|
| --- a/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| +++ b/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| @@ -334,7 +334,7 @@ v8::Handle<v8::Value> DialogHandler::returnValue() const
|
| {
|
| if (!m_scriptStateForDialogFrame)
|
| return v8Undefined();
|
| - ASSERT(!m_scriptStateForDialogFrame->contextIsEmpty());
|
| + ASSERT(!m_scriptStateForDialogFrame->contextIsValid());
|
|
|
| v8::Isolate* isolate = m_scriptStateForDialogFrame->isolate();
|
| v8::EscapableHandleScope handleScope(isolate);
|
|
|