Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / bindings / core / v8 / V8MutationCallback.cpp
index 312fa03..8dfd8ee 100644 (file)
@@ -52,7 +52,7 @@ void V8MutationCallback::call(const WillBeHeapVector<RefPtrWillBeMember<Mutation
 
     v8::Isolate* isolate = m_scriptState->isolate();
 
-    if (m_scriptState->contextIsEmpty())
+    if (m_scriptState->contextIsValid())
         return;
     ScriptState::Scope scope(m_scriptState.get());