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

Unified Diff: webkit/port/bindings/v8/v8_events.cpp

Issue 3195: Use static type information from IDL to streamline the wrapping and unwrappin... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 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: webkit/port/bindings/v8/v8_events.cpp
===================================================================
--- webkit/port/bindings/v8/v8_events.cpp (revision 2436)
+++ webkit/port/bindings/v8/v8_events.cpp (working copy)
@@ -215,7 +215,7 @@
EventTarget* target = event->currentTarget();
if (target->toNode()) {
v8::Handle<v8::Value> value =
- V8Proxy::ToV8Object(V8ClassIndex::NODE, target->toNode());
+ V8Proxy::NodeToV8Object(target->toNode());
return v8::Local<v8::Object>::New(v8::Handle<v8::Object>::Cast(value));
} else if (target->toXMLHttpRequest()) {
@@ -306,7 +306,7 @@
}
v8::Handle<v8::Value> value =
- V8Proxy::ToV8Object(V8ClassIndex::NODE, event->currentTarget()->toNode());
+ V8Proxy::NodeToV8Object(event->currentTarget()->toNode());
ASSERT(!value.IsEmpty());
return v8::Local<v8::Object>::New(v8::Handle<v8::Object>::Cast(value));

Powered by Google App Engine
This is Rietveld 408576698