WebCORS: Use WebString() directly instead of converting from const char*.
When we want to return an empty WebString, just explicitly return a WebString() instead of going through the const char* -> WTF::String::FromUTF8 -> WTF::String -> WebString path to achieve the same thing. Bug: 736308 Change-Id: If3c9a45b3cac140a1a2d9d48c2b68558d09f106a Reviewed-on: https://chromium-review.googlesource.com/726085Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: Raphael Kubo da Costa (rakuco) <raphael.kubo.da.costa@intel.com> Cr-Commit-Position: refs/heads/master@{#510028}
Showing
Please register or sign in to comment