Make V8 bindings return NULL handles instead of calling v8::Undefined(). This has...
authorsnej@chromium.org <snej@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Nov 2009 19:53:19 +0000 (19:53 +0000)
committersnej@chromium.org <snej@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Nov 2009 19:53:19 +0000 (19:53 +0000)
commit141a5fdff79dd2e70ef2335bf603f385e4554ea9
treedd435a74c4497f49e3dc5ff07c1f3940a583f64f
parent5eff8426451cd81a409c3eaec93e6d04bd59d776
Make V8 bindings return NULL handles instead of calling v8::Undefined(). This has equivalent
meaning to the caller, saves code, and appears to save a few cycles at runtime too.
https://bugs.webkit.org/show_bug.cgi?id=31367

Reviewed by Dimitri Glazkov.

* bindings/scripts/CodeGeneratorV8.pm: Change "v8::Undefined()" to "v8::Handle<v8::Value>()"

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50831 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/bindings/scripts/CodeGeneratorV8.pm