| Index: chrome/browser/extensions/api/commands/command_service.cc
|
| diff --git a/chrome/browser/extensions/api/commands/command_service.cc b/chrome/browser/extensions/api/commands/command_service.cc
|
| index 45be93b6823a8acbec5949112fb36b5b33c42adb..0f57c603125edcd8e5f822e25904dabd43083660 100644
|
| --- a/chrome/browser/extensions/api/commands/command_service.cc
|
| +++ b/chrome/browser/extensions/api/commands/command_service.cc
|
| @@ -75,8 +75,8 @@ bool IsForCurrentPlatform(const std::string& key) {
|
| std::string StripCurrentPlatform(const std::string& key) {
|
| DCHECK(IsForCurrentPlatform(key));
|
| std::string result = key;
|
| - ReplaceFirstSubstringAfterOffset(&result, 0, Command::CommandPlatform() + ":",
|
| - "");
|
| + base::ReplaceFirstSubstringAfterOffset(
|
| + &result, 0, Command::CommandPlatform() + ":", base::StringPiece());
|
| return result;
|
| }
|
|
|
|
|