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: Fixed bogus assert Created Aug. 31, 2017, 12:44 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 | « compiled/library.h ('k') | compiled/storage/FilterStorage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
},
« no previous file with comments | « compiled/library.h ('k') | compiled/storage/FilterStorage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld