Index: Source/WebCore/bindings/v8/V8RecursionScope.cpp |
=================================================================== |
--- Source/WebCore/bindings/v8/V8RecursionScope.cpp (revision 112630) |
+++ Source/WebCore/bindings/v8/V8RecursionScope.cpp (working copy) |
@@ -32,12 +32,11 @@ |
#include "V8RecursionScope.h" |
#include "IDBPendingTransactionMonitor.h" |
-#include "ScriptExecutionContext.h" |
#include "WebKitMutationObserver.h" |
namespace WebCore { |
-void V8RecursionScope::didLeaveScriptContext(ScriptExecutionContext* context) |
+void V8RecursionScope::didLeaveScriptContext() |
{ |
// FIXME: Instrument any work that takes place when script exits to c++ (e.g. Mutation Observers). |
@@ -49,7 +48,7 @@ |
#endif |
#if ENABLE(MUTATION_OBSERVERS) |
- if (context && context->isDocument()) |
+ if (m_isDocumentContext) |
WebKitMutationObserver::deliverAllMutations(); |
#endif |
} |