gecko-dev/mobile
Jan Henning a3950adb71 Bug 1414084 - Part 11 - Use a Map for the MenuItemInfo list. r=Grisha
Since all related EventDispatcher messages use UUIDs, it makes sense to store
our MenuItemInfos in a Map, so we can access them directly by UUID instead of
having to iterate over them until we've found the desired one.

Since we want to preserve the order in which MenuItemInfos were added, we use a
LinkedHashMap.

MozReview-Commit-ID: BEtJ59tX59m

--HG--
extra : rebase_source : 8012b11c1e36b774972a0cc4a6f748ccaace7533
2018-03-18 18:07:16 +01:00
..
android Bug 1414084 - Part 11 - Use a Map for the MenuItemInfo list. r=Grisha 2018-03-18 18:07:16 +01:00
locales Merge inbound to mozilla-central. a=merge 2018-08-02 01:09:38 +03:00