Bug 169395
| Summary: | [WebCrypto] Change VectorCallback from Function<void(const Vector<uint8_t>&)> to Function<void(Vector<uint8_t>&&)> in CryptoAlgorithms | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jiewen Tan <jiewen_tan> |
| Component: | WebCore JavaScript | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bfulgham, jiewen_tan |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Jiewen Tan
It looks like that VectorCallback can actually better be Function<void(Vector<uint8_t>&&)> in CryptoAlgorithms.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jiewen Tan
CryptoAlgorithm.h
using VectorCallback = WTF::Function<void(const Vector<uint8_t>&)>;