Bug 721214 - Use Tabs.selectTab to select a new tab instead of sending a Tab:Selected message to gecko. r=mbrubeck

This commit is contained in:
Margaret Leibovic 2012-01-25 14:18:47 -08:00
parent 9dbd772406
commit c772244f0a

View File

@ -2370,7 +2370,7 @@ abstract public class GeckoApp
while (tabsIter.hasNext()) {
Tab tab = tabsIter.next();
if (url.equals(tab.getURL())) {
GeckoAppShell.sendEventToGecko(new GeckoEvent("Tab:Select", String.valueOf(tab.getId())));
Tabs.getInstance().selectTab(tab.getId());
return;
}
}