| Index: gpu/command_buffer/service/feature_info.cc
|
| diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc
|
| index b8737fc40e7a507cc7cb67bf015c727a56c6d6b0..6f6cf634988290171eed5414506690076493cec8 100644
|
| --- a/gpu/command_buffer/service/feature_info.cc
|
| +++ b/gpu/command_buffer/service/feature_info.cc
|
| @@ -83,11 +83,11 @@
|
| void StringToWorkarounds(
|
| const std::string& types, FeatureInfo::Workarounds* workarounds) {
|
| DCHECK(workarounds);
|
| - for (const base::StringPiece& piece :
|
| - base::SplitStringPiece(
|
| - types, ",", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL)) {
|
| + std::vector<std::string> pieces;
|
| + base::SplitString(types, ',', &pieces);
|
| + for (size_t i = 0; i < pieces.size(); ++i) {
|
| int number = 0;
|
| - bool succeed = base::StringToInt(piece, &number);
|
| + bool succeed = base::StringToInt(pieces[i], &number);
|
| DCHECK(succeed);
|
| switch (number) {
|
| #define GPU_OP(type, name) \
|
|
|