Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(325)

Unified Diff: Source/bindings/core/v8/V8MutationCallback.cpp

Issue 622333002: Flip the true/false result of ScriptState::contextIsValid (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/core/v8/V8MutationCallback.cpp
diff --git a/Source/bindings/core/v8/V8MutationCallback.cpp b/Source/bindings/core/v8/V8MutationCallback.cpp
index 8dfd8ee01e233f56f40ff6b791c3e436e32460e9..d57b8c4ae4c1d9e11f03e821cb65ef78e5b6dd39 100644
--- a/Source/bindings/core/v8/V8MutationCallback.cpp
+++ b/Source/bindings/core/v8/V8MutationCallback.cpp
@@ -52,7 +52,7 @@ void V8MutationCallback::call(const WillBeHeapVector<RefPtrWillBeMember<Mutation
v8::Isolate* isolate = m_scriptState->isolate();
- if (m_scriptState->contextIsValid())
+ if (!m_scriptState->contextIsValid())
return;
ScriptState::Scope scope(m_scriptState.get());
« no previous file with comments | « Source/bindings/core/v8/V8EventListenerList.cpp ('k') | Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698