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

Unified Diff: Source/bindings/core/v8/V8Binding.h

Issue 1014003002: [bindings] Remove the last traces of V8RethrowTryCatchScope from V8Binding.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8Binding.h
diff --git a/Source/bindings/core/v8/V8Binding.h b/Source/bindings/core/v8/V8Binding.h
index fc67cdac37c55fcae1444b9e4c6544b424fff8b3..8ab239c2afb18441c86346373748ad9a0a823707 100644
--- a/Source/bindings/core/v8/V8Binding.h
+++ b/Source/bindings/core/v8/V8Binding.h
@@ -1044,19 +1044,6 @@ private:
PassRefPtr<TraceEvent::ConvertableToTraceFormat> devToolsTraceEventData(v8::Isolate*, ExecutionContext*, v8::Handle<v8::Function>);
-class V8RethrowTryCatchScope final {
-public:
- explicit V8RethrowTryCatchScope(v8::TryCatch& block) : m_block(block) { }
- ~V8RethrowTryCatchScope()
- {
- // ReThrow() is a no-op if no exception has been caught, so always call.
- m_block.ReThrow();
- }
-
-private:
- v8::TryCatch& m_block;
-};
-
// Callback functions used by generated code.
void v8ConstructorAttributeGetterAsProperty(v8::Local<v8::Name> propertyName, const v8::PropertyCallbackInfo<v8::Value>&);
void v8ConstructorAttributeGetterAsAccessor(const v8::FunctionCallbackInfo<v8::Value>&);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698