summaryrefslogtreecommitdiffstats
path: root/browser/base
diff options
context:
space:
mode:
authorAscrod <32915892+Ascrod@users.noreply.github.com>2018-05-13 09:35:23 -0400
committerAscrod <32915892+Ascrod@users.noreply.github.com>2018-05-15 21:06:41 -0500
commit9ef464a5ac0a17135a0f7b4fef070bb4f7fbe44c (patch)
tree05dd6c130cbbb80e5512a5c199c010aa4b3516e5 /browser/base
parentb70d884598e1e14b99190e1e5c349553ff59849b (diff)
downloadUXP-9ef464a5ac0a17135a0f7b4fef070bb4f7fbe44c.tar
UXP-9ef464a5ac0a17135a0f7b4fef070bb4f7fbe44c.tar.gz
UXP-9ef464a5ac0a17135a0f7b4fef070bb4f7fbe44c.tar.lz
UXP-9ef464a5ac0a17135a0f7b4fef070bb4f7fbe44c.tar.xz
UXP-9ef464a5ac0a17135a0f7b4fef070bb4f7fbe44c.zip
Change Reader API to use events, remove messaging.
Diffstat (limited to 'browser/base')
-rw-r--r--browser/base/content/tab-content.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/browser/base/content/tab-content.js b/browser/base/content/tab-content.js
index 7e803796a..a57dc6607 100644
--- a/browser/base/content/tab-content.js
+++ b/browser/base/content/tab-content.js
@@ -307,7 +307,7 @@ var AboutReaderListener = {
if (content.document.body) {
// Update the toolbar icon to show the "reader active" icon.
sendAsyncMessage("Reader:UpdateReaderButton");
- new AboutReader(global, content, this._articlePromise);
+ new AboutReader(content, this._articlePromise);
this._articlePromise = null;
}
break;