| Index: chrome/browser/chromeos/input_method/input_method_engine.cc
|
| diff --git a/chrome/browser/chromeos/input_method/input_method_engine.cc b/chrome/browser/chromeos/input_method/input_method_engine.cc
|
| index c25ff772ddf9b1caa4f3d79c1de7e1f8004391a8..b3894d22b02250571469833cda29aafd38099bc7 100644
|
| --- a/chrome/browser/chromeos/input_method/input_method_engine.cc
|
| +++ b/chrome/browser/chromeos/input_method/input_method_engine.cc
|
| @@ -72,13 +72,13 @@ size_t GetUtf8StringLength(const char* s) {
|
|
|
| std::string GetKeyFromEvent(const ui::KeyEvent& event) {
|
| const std::string code = event.GetCodeString();
|
| - if (base::StartsWithASCII(code, "Control", true))
|
| + if (base::StartsWith(code, "Control", base::CompareCase::SENSITIVE))
|
| return "Ctrl";
|
| - if (base::StartsWithASCII(code, "Shift", true))
|
| + if (base::StartsWith(code, "Shift", base::CompareCase::SENSITIVE))
|
| return "Shift";
|
| - if (base::StartsWithASCII(code, "Alt", true))
|
| + if (base::StartsWith(code, "Alt", base::CompareCase::SENSITIVE))
|
| return "Alt";
|
| - if (base::StartsWithASCII(code, "Arrow", true))
|
| + if (base::StartsWith(code, "Arrow", base::CompareCase::SENSITIVE))
|
| return code.substr(5);
|
| if (code == "Escape")
|
| return "Esc";
|
|
|