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 some legacy code Created Dec. 13, 2016, 1:51 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
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]
});

Powered by Google App Engine
This is Rietveld