[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-launcher/master] Bug 10573: Replace deprecated nsILocalFile with nsIFile
commit e24ab106dffdf4f0504c2f60005e213ebd47d458
Author: ArunaMaurya221B <aruna.maurya12@xxxxxxxxx>
Date: Wed Dec 6 16:57:06 2017 +0530
Bug 10573: Replace deprecated nsILocalFile with nsIFile
---
src/components/tl-protocol.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/tl-protocol.js b/src/components/tl-protocol.js
index 68c6530..a89b84d 100644
--- a/src/components/tl-protocol.js
+++ b/src/components/tl-protocol.js
@@ -1351,7 +1351,7 @@ TorProtocolService.prototype =
_read_authentication_cookie: function(aPath)
{
- var file = Cc['@mozilla.org/file/local;1'].createInstance(Ci.nsILocalFile);
+ var file = Cc['@mozilla.org/file/local;1'].createInstance(Ci.nsIFile);
file.initWithPath(aPath);
var fileStream = Cc["@mozilla.org/network/file-input-stream;1"]
.createInstance(Ci.nsIFileInputStream);
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits