diff options
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-07 01:04:11 +0000 |
---|---|---|
committer | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-07 01:04:11 +0000 |
commit | a87200d7c6a240a623a79d7d987ff50b32fc42ed (patch) | |
tree | 9592da1528653683dab55eb2201c20894abd1f15 /ui/message_center/message_center.cc | |
parent | b41d6b5a9976f7586e4c83b5b2af3979339cc002 (diff) | |
download | chromium_src-a87200d7c6a240a623a79d7d987ff50b32fc42ed.zip chromium_src-a87200d7c6a240a623a79d7d987ff50b32fc42ed.tar.gz chromium_src-a87200d7c6a240a623a79d7d987ff50b32fc42ed.tar.bz2 |
Switch to using gfx::Image instead of ImageSkia for cross-platform message_center code.
BUG=179916
Review URL: https://chromiumcodereview.appspot.com/12499002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186560 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/message_center/message_center.cc')
-rw-r--r-- | ui/message_center/message_center.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/message_center/message_center.cc b/ui/message_center/message_center.cc index 97f05ce..29492a8 100644 --- a/ui/message_center/message_center.cc +++ b/ui/message_center/message_center.cc @@ -106,20 +106,20 @@ void MessageCenter::RemoveNotification(const std::string& id) { } void MessageCenter::SetNotificationIcon(const std::string& notification_id, - const gfx::ImageSkia& image) { + const gfx::Image& image) { if (notification_list_->SetNotificationIcon(notification_id, image)) NotifyMessageCenterChanged(true); } void MessageCenter::SetNotificationImage(const std::string& notification_id, - const gfx::ImageSkia& image) { + const gfx::Image& image) { if (notification_list_->SetNotificationImage(notification_id, image)) NotifyMessageCenterChanged(true); } void MessageCenter::SetNotificationButtonIcon( const std::string& notification_id, int button_index, - const gfx::ImageSkia& image) { + const gfx::Image& image) { if (notification_list_->SetNotificationButtonIcon(notification_id, button_index, image)) NotifyMessageCenterChanged(true); |