[tbb-commits] [tor-launcher/master] Mozilla ripped out nsIPrefBranchInternal

gk at torproject.org gk at torproject.org
Wed May 23 18:13:51 UTC 2018


commit a2a42c64de4322f96a77451e64e839ada353eda7
Author: Matthew Finkel <Matthew.Finkel at gmail.com>
Date:   Fri Feb 23 19:56:38 2018 +0000

    Mozilla ripped out nsIPrefBranchInternal
    
    Apparently nsIPrefBranchInternal was a trivial subclass of nsIPrefBranch,
    so we simply switch which class we use.
    
    https://bugzilla.mozilla.org/show_bug.cgi?id=1374847
---
 src/modules/tl-logger.jsm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/modules/tl-logger.jsm b/src/modules/tl-logger.jsm
index 19168d2..a2ea404 100644
--- a/src/modules/tl-logger.jsm
+++ b/src/modules/tl-logger.jsm
@@ -1,4 +1,4 @@
-// Copyright (c) 2013, The Tor Project, Inc.
+// Copyright (c) 2018, The Tor Project, Inc.
 // See LICENSE for licensing information.
 // TODO: Based on torbutton-logger.js (pull in copyright and license?)
 //
@@ -108,8 +108,8 @@ let TLLoggerInternal = // Private
   {
     // Register observer
     var prefs = Cc["@mozilla.org/preferences-service;1"]
-                  .getService(Ci.nsIPrefBranchInternal)
-                  .QueryInterface(Ci.nsIPrefBranchInternal);
+                  .getService(Ci.nsIPrefBranch)
+                  .QueryInterface(Ci.nsIPrefBranch);
     prefs.addObserver("extensions.torlauncher", this, false);
 
     this.mLogLevel = TorLauncherUtil.getIntPref(





More information about the tbb-commits mailing list