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

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

Issue 871403007: Make exception throwing more robust in V8 out-of-stack situations (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | Source/bindings/core/v8/V8ThrowException.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8PerContextData.cpp
diff --git a/Source/bindings/core/v8/V8PerContextData.cpp b/Source/bindings/core/v8/V8PerContextData.cpp
index 6b6010318d03a9bc7188a7070e9caece37c5e586..87619dc79db0cf11a156952d0334a0c80f54cd67 100644
--- a/Source/bindings/core/v8/V8PerContextData.cpp
+++ b/Source/bindings/core/v8/V8PerContextData.cpp
@@ -95,7 +95,6 @@ v8::Local<v8::Function> V8PerContextData::constructorForTypeSlowCase(const Wrapp
v8::Context::Scope scope(context());
v8::Handle<v8::FunctionTemplate> functionTemplate = type->domTemplate(m_isolate);
// Getting the function might fail if we're running out of stack or memory.
- v8::TryCatch tryCatch;
v8::Local<v8::Function> function = functionTemplate->GetFunction();
if (function.IsEmpty())
return v8::Local<v8::Function>();
« no previous file with comments | « no previous file | Source/bindings/core/v8/V8ThrowException.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698