mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 18:55:30 +00:00
Fix View | Translate, which I broke by not understanding prefs enough. Bug 82018. r=doron, sr=alecf.
This commit is contained in:
parent
c5a84507d8
commit
d9e67ab2aa
@ -392,8 +392,8 @@ function Shutdown()
|
||||
|
||||
function Translate()
|
||||
{
|
||||
var service = pref.getLocalizedUnicharPref("browser.translation.service");
|
||||
var serviceDomain = pref.getLocalizedUnicharPref("browser.translation.serviceDomain");
|
||||
var service = pref.CopyCharPref("browser.translation.service");
|
||||
var serviceDomain = pref.CopyCharPref("browser.translation.serviceDomain");
|
||||
|
||||
// XXX This somehow causes a big leak, back to the old way
|
||||
// till we figure out why. See bug 61886.
|
||||
|
Loading…
Reference in New Issue
Block a user