Index: Source/bindings/v8/V8ScriptRunner.cpp |
diff --git a/Source/bindings/v8/V8ScriptRunner.cpp b/Source/bindings/v8/V8ScriptRunner.cpp |
index a6d8fc205a5e4c19fb7123866298ef7eef17356f..4b31801ac2695ed37caca9027a5c6e586a77fee8 100644 |
--- a/Source/bindings/v8/V8ScriptRunner.cpp |
+++ b/Source/bindings/v8/V8ScriptRunner.cpp |
@@ -85,9 +85,6 @@ v8::Local<v8::Value> V8ScriptRunner::runCompiledScript(v8::Handle<v8::Script> sc |
if (V8RecursionScope::recursionLevel() >= kMaxRecursionDepth) |
return handleMaxRecursionDepthExceeded(isolate); |
- if (handleOutOfMemory()) |
- return v8::Local<v8::Value>(); |
- |
RELEASE_ASSERT(!context->isIteratingOverObservers()); |
// Run the script and keep track of the current recursion depth. |
@@ -97,9 +94,6 @@ v8::Local<v8::Value> V8ScriptRunner::runCompiledScript(v8::Handle<v8::Script> sc |
result = script->Run(); |
} |
- if (handleOutOfMemory()) |
- ASSERT(result.IsEmpty()); |
- |
if (result.IsEmpty()) |
return v8::Local<v8::Value>(); |