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

Unified Diff: content/child/notifications/notification_manager.cc

Issue 1259673002: Make UTF16ToASCII and UTF16TOUTF8 take a StringPiece (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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: content/child/notifications/notification_manager.cc
diff --git a/content/child/notifications/notification_manager.cc b/content/child/notifications/notification_manager.cc
index 18a7363d7b421046a4587df821eade16954f006c..70a61403338484657403e5b8292d2919f8fbed93 100644
--- a/content/child/notifications/notification_manager.cc
+++ b/content/child/notifications/notification_manager.cc
@@ -161,7 +161,7 @@ void NotificationManager::getNotifications(
request_id,
service_worker_registration_id,
origin,
- base::UTF16ToUTF8(filter_tag)));
+ base::UTF16ToUTF8(base::StringPiece16(filter_tag))));
}
void NotificationManager::close(blink::WebNotificationDelegate* delegate) {
« no previous file with comments | « content/child/notifications/notification_data_conversions.cc ('k') | content/child/simple_webmimeregistry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698