Bug 1011854 - Remove usage of 2nd WeakMap#get parameter from SessionStore; r=ttaubert

--HG--
extra : rebase_source : a63bf620acd02ff5e72a0dc6821423d25a5f34e9
This commit is contained in:
Arpad Borsos 2014-05-20 14:19:14 +02:00
parent 7b42dd4a97
commit 65f6702662

View File

@ -3414,7 +3414,7 @@ let SessionStoreInternal = {
* with respect to |browser|.
*/
isCurrentEpoch: function (browser, epoch) {
return this._browserEpochs.get(browser.permanentKey, 0) == epoch;
return (this._browserEpochs.get(browser.permanentKey) || 0) == epoch;
},
};