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

Unified Diff: third_party/WebKit/Source/web/WebAXObject.cpp

Issue 2017053003: Remove StringBuilder::appendLiteral. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase. Created 4 years, 7 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: third_party/WebKit/Source/web/WebAXObject.cpp
diff --git a/third_party/WebKit/Source/web/WebAXObject.cpp b/third_party/WebKit/Source/web/WebAXObject.cpp
index ae4ec4409ea3c6fbf32ee94ccb567f79130d2c5b..18b82a2567520e7fe9342e589acb7d8b3358b80f 100644
--- a/third_party/WebKit/Source/web/WebAXObject.cpp
+++ b/third_party/WebKit/Source/web/WebAXObject.cpp
@@ -757,13 +757,13 @@ WebString WebAXObject::keyboardShortcut() const
// should not be localized and defines the separator as "+".
StringBuilder modifierStringBuilder;
if (modifiers & PlatformEvent::CtrlKey)
- modifierStringBuilder.appendLiteral("Ctrl+");
+ modifierStringBuilder.append("Ctrl+");
if (modifiers & PlatformEvent::AltKey)
- modifierStringBuilder.appendLiteral("Alt+");
+ modifierStringBuilder.append("Alt+");
if (modifiers & PlatformEvent::ShiftKey)
- modifierStringBuilder.appendLiteral("Shift+");
+ modifierStringBuilder.append("Shift+");
if (modifiers & PlatformEvent::MetaKey)
- modifierStringBuilder.appendLiteral("Win+");
+ modifierStringBuilder.append("Win+");
modifierString = modifierStringBuilder.toString();
}

Powered by Google App Engine
This is Rietveld 408576698