This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
Update json.hpp to v2.1.1
<https://webkit.org/b/172085> <rdar://problem/32180980> Reviewed by Alex Christensen. * NetworkProcess/capture/NetworkCaptureEvent.cpp: - Define JSON_NOEXCEPTION as 1 to disable exceptions in json.hpp. (WebKit::NetworkCapture::JSONCoder<String>::encode): (WebKit::NetworkCapture::JSONCoder<WebCore::SharedBuffer>::encode): - Build std::string passing in length to avoid the need for a custom basic_json() constructor, and for efficiency. * NetworkProcess/capture/json.hpp: - Update to v2.1.1 and remove customizations. Canonical link: https://commits.webkit.org/189052@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 3 changed files with 6,324 additions and 4,094 deletions.