blob: fc3b4a87e573363acbffdb62a4802484526432f3 [file] [log] [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/frame/report_body.h"
namespace blink {
ScriptValue ReportBody::toJSON(ScriptState* script_state) const {
V8ObjectBuilder result(script_state);
BuildJSONValue(result);
return result.GetScriptValue();
}
} // namespace blink