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

Unified Diff: Source/bindings/tests/results/core/V8TestSpecialOperations.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: add code change in Source/bindings/tests/results/ 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/V8TestSpecialOperations.cpp
diff --git a/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp b/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp
index 9beb001cbee6e9976d43b3d75cf955a582432aad..853c19b08177a4bdd1c9080a903486211ef32df3 100644
--- a/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp
+++ b/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp
@@ -100,7 +100,7 @@ static void namedPropertySetter(v8::Local<v8::String> name, v8::Local<v8::Value>
{
TestSpecialOperations* impl = V8TestSpecialOperations::toImpl(info.Holder());
TOSTRING_VOID(V8StringResource<>, propertyName, name);
- Node* propertyValue = V8Node::toImplWithTypeCheck(info.GetIsolate(), v8Value);
+ Node* propertyValue = V8Node::toImpl(v8::Handle<v8::Object>::Cast(v8Value));
bool result = impl->anonymousNamedSetter(propertyName, propertyValue);
if (!result)
return;

Powered by Google App Engine
This is Rietveld 408576698