Work around the compilation error of v8_value_converter.cc

We should apply this patch in future:
0232f57400%5E%21/
This commit is contained in:
Cheng Zhao 2017-01-26 20:07:59 +09:00 committed by Kevin Sawicki
parent be29ea4dad
commit a98e69a80d

View file

@ -361,7 +361,7 @@ base::Value* V8ValueConverter::FromV8Array(
base::Value* child = FromV8ValueImpl(state, child_v8, isolate);
if (child)
result->Append(child);
result->Append(std::unique_ptr<base::Value>(child));
else
// JSON.stringify puts null in places where values don't serialize, for
// example undefined and functions. Emulate that behavior.