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

Unified Diff: lib/subscriptionInit.js

Issue 29573801: Issue 4580 - Replace ext.getURL with extension.getURL (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/
Patch Set: Created Oct. 11, 2017, 4:15 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
« no previous file with comments | « lib/options.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/subscriptionInit.js
===================================================================
--- a/lib/subscriptionInit.js
+++ b/lib/subscriptionInit.js
@@ -200,17 +200,17 @@
{
FilterStorage.addSubscription(subscription);
if (subscription instanceof DownloadableSubscription &&
!subscription.lastDownload)
Synchronizer.execute(subscription);
}
if (firstRun && !Prefs.suppress_first_run_page)
- chrome.tabs.create({url: ext.getURL("firstRun.html")});
+ chrome.tabs.create({url: chrome.extension.getURL("firstRun.html")});
initNotifications();
}
Promise.all([FilterNotifier.once("load"),
Prefs.untilLoaded]).then(detectFirstRun)
.then(getSubscriptions)
.then(finishInitialization);
« no previous file with comments | « lib/options.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld