summaryrefslogtreecommitdiffstats
path: root/chrome/browser/status_icons/desktop_notification_balloon.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/status_icons/desktop_notification_balloon.cc')
-rw-r--r--chrome/browser/status_icons/desktop_notification_balloon.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/status_icons/desktop_notification_balloon.cc b/chrome/browser/status_icons/desktop_notification_balloon.cc
index 8619c9a..0b1501b 100644
--- a/chrome/browser/status_icons/desktop_notification_balloon.cc
+++ b/chrome/browser/status_icons/desktop_notification_balloon.cc
@@ -71,7 +71,7 @@ DesktopNotificationBalloon::~DesktopNotificationBalloon() {
CloseBalloon(notification_id_);
}
-void DesktopNotificationBalloon::DisplayBalloon(const SkBitmap& icon,
+void DesktopNotificationBalloon::DisplayBalloon(const gfx::ImageSkia& icon,
const string16& title,
const string16& contents) {
// Allowing IO access is required here to cover the corner case where
@@ -83,6 +83,6 @@ void DesktopNotificationBalloon::DisplayBalloon(const SkBitmap& icon,
profile = ProfileManager::GetLastUsedProfile();
}
notification_id_ = DesktopNotificationService::AddIconNotification(
- GURL(), title, contents, gfx::ImageSkia(icon), string16(),
+ GURL(), title, contents, icon, string16(),
new DummyNotificationDelegate(base::IntToString(id_count_++)), profile);
}