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

Unified Diff: Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp

Issue 564063002: Generate simple code for "trivial" conversions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 6 years, 3 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/tests/results/core/V8TestInterfaceConstructor4.cpp
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp b/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
index ab87c2d4a8059327bbde2825a533d92f775f704b..9565a00aa4963751816e1a5c53d946aacdac929d 100644
--- a/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
+++ b/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
@@ -37,9 +37,7 @@ static void constructor1(const v8::FunctionCallbackInfo<v8::Value>& info)
{
TestInterfaceConstructor4* testInterface4Arg;
{
- v8::TryCatch block;
- V8RethrowTryCatchScope rethrow(block);
- TONATIVE_VOID_INTERNAL(testInterface4Arg, V8TestInterfaceConstructor4::toImplWithTypeCheck(info.GetIsolate(), info[0]));
+ testInterface4Arg = V8TestInterfaceConstructor4::toImplWithTypeCheck(info.GetIsolate(), info[0]);
}
RefPtr<TestInterfaceConstructor4> impl = TestInterfaceConstructor4::create(testInterface4Arg);
v8::Handle<v8::Object> wrapper = info.Holder();

Powered by Google App Engine
This is Rietveld 408576698