Index: chrome/renderer/resources/extensions/notifications_custom_bindings.js |
diff --git a/chrome/renderer/resources/extensions/notifications_custom_bindings.js b/chrome/renderer/resources/extensions/notifications_custom_bindings.js |
index 013628abff281af8a238a343e2793c12a5e98b9c..fb4f1f37e18893e1f60c7f2cdf6e99d2e28d2b7b 100644 |
--- a/chrome/renderer/resources/extensions/notifications_custom_bindings.js |
+++ b/chrome/renderer/resources/extensions/notifications_custom_bindings.js |
@@ -40,6 +40,16 @@ function getUrlSpecs(imageSizes, notificationDetails) { |
}); |
} |
+ // |smallIconUrl| is optional. |
+ if (notificationDetails.smallIconUrl) { |
+ $Array.push(urlSpecs, { |
+ path: notificationDetails.smallIconUrl, |
+ width: imageSizes.smallIcon.width * imageSizes.scaleFactor, |
+ height: imageSizes.smallIcon.height * imageSizes.scaleFactor, |
+ callback: imageDataSetter(notificationDetails, 'smallIconBitmap') |
+ }); |
+ } |
+ |
// |imageUrl| is optional. |
if (notificationDetails.imageUrl) { |
$Array.push(urlSpecs, { |