| Index: third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| diff --git a/third_party/WebKit/Source/modules/nfc/NFC.cpp b/third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| index 5ddc7ec50e0a55f5d0ca3b800fa872b62857dbcf..21c26c12ae87b99d6e1a9460a2cdf27409ca99c8 100644
|
| --- a/third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| +++ b/third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| @@ -178,7 +178,7 @@ struct TypeConverter<mojo::WTFArray<uint8_t>, blink::ScriptValue> {
|
| }
|
|
|
| if (value->IsObject() && !value->IsArrayBuffer()) {
|
| - RefPtr<blink::JSONValue> jsonResult = blink::toJSONValue(scriptValue.context(), value);
|
| + std::unique_ptr<blink::JSONValue> jsonResult = blink::toJSONValue(scriptValue.context(), value);
|
| if (jsonResult && (jsonResult->getType() == blink::JSONValue::TypeObject))
|
| return mojo::WTFArray<uint8_t>::From(jsonResult->toJSONString());
|
| }
|
|
|