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)); |