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

Unified Diff: notification.js

Issue 6212239715467264: Noissue - Removed dead code, missed out when removing webkitNotifcation legacy code (Closed)
Patch Set: Created March 1, 2015, 1:54 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: notification.js
===================================================================
--- a/notification.js
+++ b/notification.js
@@ -15,12 +15,6 @@
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
-//This case is true only for chrome when loading from notification.html
Sebastian Noack 2015/03/01 13:55:56 notification.html were removed with #1518
-if (typeof ext === "undefined")
-{
- var ext = chrome.extension.getBackgroundPage().ext;
-}
-
var backgroundPage = ext.backgroundPage.getWindow();
var require = backgroundPage.require;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld