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

Unified Diff: compiled/library.js

Issue 29426559: Issue 5137 - [emscripten] Added basic filter storage implementation (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created May 1, 2017, 2: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: compiled/library.js
===================================================================
--- a/compiled/library.js
+++ b/compiled/library.js
@@ -38,20 +38,22 @@ mergeInto(LibraryManager.library, {
console.error(new Error(readString(str)).stack);
},
CharToLower: function(charCode)
{
return String.fromCharCode(charCode).toLowerCase().charCodeAt(0);
},
- JSNotifyFilterChange: function(topic, filter)
+ JSNotifyFilterChange: function(topic, filter, subscription, position)
{
+ if (subscription)
+ subscription = exports.Subscription.fromPointer(subscription);
FilterNotifier.triggerListeners(notifierTopics.get(topic),
- exports.Filter.fromPointer(filter));
+ exports.Filter.fromPointer(filter), subscription, position);
},
JSNotifySubscriptionChange: function(topic, subscription)
{
FilterNotifier.triggerListeners(notifierTopics.get(topic),
exports.Subscription.fromPointer(subscription));
},

Powered by Google App Engine
This is Rietveld