Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(979)

Unified Diff: chrome/browser/extensions/api/notification/notification_api.cc

Issue 11958025: Start delegating notifications to MessageCenter on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix androif build Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/notification/notification_api.cc
diff --git a/chrome/browser/extensions/api/notification/notification_api.cc b/chrome/browser/extensions/api/notification/notification_api.cc
index 5809e6b652a08e70449650741a616ae70d5396ff..9a5814af1b8e40285b6a3b9798f5c6794d8eb4a2 100644
--- a/chrome/browser/extensions/api/notification/notification_api.cc
+++ b/chrome/browser/extensions/api/notification/notification_api.cc
@@ -180,7 +180,7 @@ bool NotificationShowFunction::RunImpl() {
string16 replace_id(UTF8ToUTF16(options->replace_id));
- Notification notification(type, icon_url, title, message,
+ Notification notification(type, extension_->url(), icon_url, title, message,
WebKit::WebTextDirectionDefault,
string16(), replace_id,
optional_fields.get(),

Powered by Google App Engine
This is Rietveld 408576698