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

Unified Diff: Source/modules/notifications/Notification.cpp

Issue 22572005: Remove all uses of the ASCIILiteral class. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm it from wtf Created 7 years, 4 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: Source/modules/notifications/Notification.cpp
diff --git a/Source/modules/notifications/Notification.cpp b/Source/modules/notifications/Notification.cpp
index 920b156b99993fb516ecc904f35bf0c6d97c4c95..742e6b7517f5fa90285c79f957aa4a0cadbea9ca 100644
--- a/Source/modules/notifications/Notification.cpp
+++ b/Source/modules/notifications/Notification.cpp
@@ -238,9 +238,9 @@ const String& Notification::permission(ScriptExecutionContext* context)
const String& Notification::permissionString(NotificationClient::Permission permission)
{
- DEFINE_STATIC_LOCAL(const String, allowedPermission, (ASCIILiteral("granted")));
- DEFINE_STATIC_LOCAL(const String, deniedPermission, (ASCIILiteral("denied")));
- DEFINE_STATIC_LOCAL(const String, defaultPermission, (ASCIILiteral("default")));
+ DEFINE_STATIC_LOCAL(const String, allowedPermission, ("granted"));
+ DEFINE_STATIC_LOCAL(const String, deniedPermission, ("denied"));
+ DEFINE_STATIC_LOCAL(const String, defaultPermission, ("default"));
switch (permission) {
case NotificationClient::PermissionAllowed:
« no previous file with comments | « Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp ('k') | Source/modules/speech/SpeechRecognitionError.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698