diff options
author | johnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-16 22:26:50 +0000 |
---|---|---|
committer | johnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-16 22:26:50 +0000 |
commit | 38169da1503a5e37c3517cc12ef7bc05dc43ab3b (patch) | |
tree | a37dec3040799c9052a4bc12a5891ceab5f899a4 /chrome | |
parent | ba2c2bca549c6e0e49f2c39acf1326d0660e1836 (diff) | |
download | chromium_src-38169da1503a5e37c3517cc12ef7bc05dc43ab3b.zip chromium_src-38169da1503a5e37c3517cc12ef7bc05dc43ab3b.tar.gz chromium_src-38169da1503a5e37c3517cc12ef7bc05dc43ab3b.tar.bz2 |
Use the full URL of the icon in the notification, not just the string passed in -- so that that string doesn't have to be absolute.
BUG=32840
TEST=use a relative icon URL.
Review URL: http://codereview.chromium.org/1050001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41778 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/renderer/notification_provider.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/notification_provider.cc b/chrome/renderer/notification_provider.cc index 9a1edab..1bcefee 100644 --- a/chrome/renderer/notification_provider.cc +++ b/chrome/renderer/notification_provider.cc @@ -111,7 +111,7 @@ bool NotificationProvider::ShowText(const WebNotification& notification, DCHECK(!notification.isHTML()); return Send(new ViewHostMsg_ShowDesktopNotificationText(view_->routing_id(), GURL(view_->webview()->mainFrame()->url()).GetOrigin(), - GURL(notification.icon()), + notification.iconURL(), notification.title(), notification.body(), id)); } |