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

Unified Diff: ext/common.js

Issue 29573795: Issue 4580 - Remove ext.backgroundPage.getWindow (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/
Patch Set: Created Oct. 11, 2017, 4:01 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ext/common.js
===================================================================
--- a/ext/common.js
+++ b/ext/common.js
@@ -67,20 +67,16 @@
/* Message passing */
ext.onMessage = new ext._EventTarget();
/* Background page */
ext.backgroundPage = {
- sendMessage: chrome.runtime.sendMessage,
- getWindow()
- {
- return chrome.extension.getBackgroundPage();
- }
+ sendMessage: chrome.runtime.sendMessage
};
/* Utils */
ext.getURL = chrome.extension.getURL;
}());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld