Bug 1040994 - Add LIMIT support for search history content provider. r=rnewman

--HG--
extra : rebase_source : b210034222a4a47d23a441a1915461374827471e