Index: lib/icon.js |
diff --git a/lib/icon.js b/lib/icon.js |
index 22f80bc2290d7ece7921ddcaa1bc656fed22d7ab..350389d672eb81b50da627173003b5a8e8d133ad 100644 |
--- a/lib/icon.js |
+++ b/lib/icon.js |
@@ -65,7 +65,7 @@ function setIcon(page, notificationType, opacity, frames) |
} |
else |
{ |
- chrome.browserAction.setIcon({ |
+ page.browserAction._safeSetIcon({ |
tabId: page.id, |
imageData: frames["" + opacity + whitelisted] |
}); |