Consider removal of removes jsNull()/v8::Null() from JSInternalsCustom.cpp/V8Internal...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Mar 2012 05:47:18 +0000 (05:47 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Mar 2012 05:47:18 +0000 (05:47 +0000)
commitcb95aca78fb1cf3aaa244a87a67e592d6332a79d
tree2d7a729860f5a5c173e256026ade761c1f630e73
parent0abfadc8351bd8b59c64ffc1411668dc648ef5e2
Consider removal of removes jsNull()/v8::Null() from JSInternalsCustom.cpp/V8InternalsCustom.cpp
https://bugs.webkit.org/show_bug.cgi?id=82442

Patch by Vineet Chaudhary <rgf748@motorola.com> on 2012-03-28
Reviewed by Kentaro Hara.

No new tests. LayoutTests/fast/harness/user-preferred-language.html should pass
even after these changes.

* testing/js/JSInternalsCustom.cpp: Remove jsNull() if Vector is empty.
(WebCore::JSInternals::userPreferredLanguages):
* testing/v8/V8InternalsCustom.cpp: Remove v8::Null() if Vector is empty.
(WebCore::V8Internals::userPreferredLanguagesAccessorGetter):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@112502 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/testing/js/JSInternalsCustom.cpp
Source/WebCore/testing/v8/V8InternalsCustom.cpp