Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/updater.js

Issue 29512648: Issue 5475 - Update adblockpluscore dependency to revision hg:b935a0402215 (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created Aug. 11, 2017, 12:36 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/updater.js
diff --git a/lib/updater.js b/lib/updater.js
index 4e4fff1c7c32619ef3cf68c55708d0faa3d13115..bcfdd05eadc1dd02c08a1476b36b50d9c65e7b67 100644
--- a/lib/updater.js
+++ b/lib/updater.js
@@ -17,6 +17,7 @@
let {Prefs} = require("prefs");
let {Downloader, Downloadable, MILLIS_IN_HOUR} = require("downloader");
+const {Services} = Cu.import("resource://gre/modules/Services.jsm", {});
let updateUrl = (_appInfo.developmentBuild ? Prefs.update_url_devbuild : Prefs.update_url_release);
updateUrl = updateUrl.replace(/%NAME%/g, encodeURIComponent(_appInfo.name));

Powered by Google App Engine
This is Rietveld