Bug 169395 - [WebCrypto] Change VectorCallback from Function<void(const Vector<uint8_t>&)> to Function<void(Vector<uint8_t>&&)> in CryptoAlgorithms
Summary: [WebCrypto] Change VectorCallback from Function<void(const Vector<uint8_t>&)>...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-08 17:10 PST by Jiewen Tan
Modified: 2017-03-08 17:10 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiewen Tan 2017-03-08 17:10:20 PST
It looks like that VectorCallback can actually better be Function<void(Vector<uint8_t>&&)> in CryptoAlgorithms.
Comment 1 Jiewen Tan 2017-03-08 17:10:56 PST
CryptoAlgorithm.h
using VectorCallback = WTF::Function<void(const Vector<uint8_t>&)>;