| Index: chrome/common/extensions/command.cc
|
| diff --git a/chrome/common/extensions/command.cc b/chrome/common/extensions/command.cc
|
| index d1c4aa23503c616d090534807efc4b9a15dd738c..8640e45e82551a9df8c504d1bfb3a528c2763785 100644
|
| --- a/chrome/common/extensions/command.cc
|
| +++ b/chrome/common/extensions/command.cc
|
| @@ -8,6 +8,7 @@
|
|
|
| #include "base/logging.h"
|
| #include "base/strings/string_number_conversions.h"
|
| +#include "base/strings/string_piece.h"
|
| #include "base/strings/string_split.h"
|
| #include "base/strings/string_util.h"
|
| #include "base/values.h"
|
| @@ -263,7 +264,7 @@ std::string NormalizeShortcutSuggestion(const std::string& suggestion,
|
| if (!normalize)
|
| return suggestion;
|
|
|
| - std::vector<std::string> tokens = base::SplitString(
|
| + std::vector<base::StringPiece> tokens = base::SplitStringPiece(
|
| suggestion, "+", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
|
| for (size_t i = 0; i < tokens.size(); i++) {
|
| if (tokens[i] == values::kKeyCtrl)
|
|
|