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

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

Issue 611953003: Canvas2D Performance: fix the bottleneck of hasInstance during JS binding -- overloading (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove typecheck for overloads if no optional argument + change toImplWithTypeCheck -> toImpl if th… Created 6 years, 2 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 4f060ae001eccbfc47e1be2899db24dca53abaed..0d496f41fd368d93d6f20dc3c3cee16dd3ae4ba9 100644
--- a/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
+++ b/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
@@ -35,7 +35,7 @@ static void constructor1(const v8::FunctionCallbackInfo<v8::Value>& info)
{
TestInterfaceConstructor4* testInterface4Arg;
{
- testInterface4Arg = V8TestInterfaceConstructor4::toImplWithTypeCheck(info.GetIsolate(), info[0]);
+ testInterface4Arg = V8TestInterfaceConstructor4::toImpl(v8::Handle<v8::Object>::Cast(info[0]));
}
RefPtr<TestInterfaceConstructor4> impl = TestInterfaceConstructor4::create(testInterface4Arg);
v8::Handle<v8::Object> wrapper = info.Holder();

Powered by Google App Engine
This is Rietveld 408576698