| Index: tools/json_schema_compiler/util.cc
|
| diff --git a/tools/json_schema_compiler/util.cc b/tools/json_schema_compiler/util.cc
|
| index b7c4eccae1441b2bf585c9ad9f567440bf776988..e870c78ba4cef6d41effd62717cb71c8f2f44595 100644
|
| --- a/tools/json_schema_compiler/util.cc
|
| +++ b/tools/json_schema_compiler/util.cc
|
| @@ -4,7 +4,6 @@
|
|
|
| #include "tools/json_schema_compiler/util.h"
|
|
|
| -#include "base/stl_util.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/values.h"
|
|
|
| @@ -155,8 +154,8 @@ void AddItemToList(const std::string& from, base::ListValue* out) {
|
| }
|
|
|
| void AddItemToList(const std::vector<char>& from, base::ListValue* out) {
|
| - out->Append(base::BinaryValue::CreateWithCopiedBuffer(vector_as_array(&from),
|
| - from.size()));
|
| + out->Append(
|
| + base::BinaryValue::CreateWithCopiedBuffer(from.data(), from.size()));
|
| }
|
|
|
| void AddItemToList(const linked_ptr<base::Value>& from, base::ListValue* out) {
|
|
|