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

Unified Diff: lib/stats.js

Issue 29570614: Issue 5028 - Use browser namespace (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/
Patch Set: Created Oct. 9, 2017, 3:12 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/stats.js
===================================================================
--- a/lib/stats.js
+++ b/lib/stats.js
@@ -62,17 +62,17 @@
color: badgeColor,
number: blocked
});
}
});
Prefs.on("show_statsinicon", () =>
{
- chrome.tabs.query({}, tabs =>
+ browser.tabs.query({}, tabs =>
{
for (let tab of tabs)
{
let page = new ext.Page(tab);
let badge = null;
if (Prefs.show_statsinicon)
{

Powered by Google App Engine
This is Rietveld