Patch also performs some clean up in BlackBerry port code, by making use of the new method.
Created attachment 160583 [details] simple patch
https://trac.webkit.org/changeset/126766