Move convertJSMethodNameToObjc() to be a utility function of ObjcClass
authorbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Apr 2012 01:06:24 +0000 (01:06 +0000)
committerbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Apr 2012 01:06:24 +0000 (01:06 +0000)
commit0738868a7ee253b1b030f280180ed322471a630b
tree3415e80b454d4ed99cbed75cbee46896ab0bb23d
parenta1a5286190d236b73130990d09d937dc8b9ce9b8
Move convertJSMethodNameToObjc() to be a utility function of ObjcClass
https://bugs.webkit.org/show_bug.cgi?id=84915

Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-04-25
Reviewed by Darin Adler.

The function convertJSMethodNameToObjc() is only useful for ObjcClass::methodsNamed().

This patch moves the function from objc_utility.mm to be a static function in objc_class.mm.
It aims at simplifying the code for future changes of ObjcClass.

* bridge/objc/objc_class.mm:
(Bindings):
(JSC::Bindings::convertJSMethodNameToObjc):
* bridge/objc/objc_utility.h:
* bridge/objc/objc_utility.mm:
(Bindings):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@115269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/bridge/objc/objc_class.mm
Source/WebCore/bridge/objc/objc_utility.h
Source/WebCore/bridge/objc/objc_utility.mm