Small cleanup: error generation in inspector cache storage agent.
.data() may not be \0 terminated; switching this to const char* directly, no need to copy into std::string. to call Latin1().c_str() on these cache name params. String: :Format expects LATIN1 parameters, so I figure it's better Change-Id: I516f335ae41d760db91a7bd45ac7fba3432ec502 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2049998Reviewed-by:Andrey Kosyakov <caseq@chromium.org> Commit-Queue: Johannes Henkel <johannes@chromium.org> Cr-Commit-Position: refs/heads/master@{#740496}
Showing
Please register or sign in to comment