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

Unified Diff: lib/icon.js

Issue 29367316: Issue 4722 - Drop support for Chrome 41 - 48 (Closed)
Patch Set: Removed getIndistinguishableTypes function Created Dec. 16, 2016, 9:37 a.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 | « lib/csp.js ('k') | lib/polyfills/fetch.js » ('j') | lib/requestBlocker.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/icon.js
diff --git a/lib/icon.js b/lib/icon.js
index 621f374eeb9f9c247c8e8d45699ad4632e7319db..a2e56a174a24d4c36fec0a658c108990bc92e8bb 100644
--- a/lib/icon.js
+++ b/lib/icon.js
@@ -64,7 +64,7 @@ function setIcon(page, notificationType, opacity, frames)
}
else
{
- page.browserAction._safeSetIcon({
+ chrome.browserAction.setIcon({
tabId: page.id,
imageData: frames["" + opacity + whitelisted]
});
« no previous file with comments | « lib/csp.js ('k') | lib/polyfills/fetch.js » ('j') | lib/requestBlocker.js » ('J')

Powered by Google App Engine
This is Rietveld