Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(524)

Unified Diff: public/platform/WebVector.h

Issue 18475002: WebCrypto: Add framework for AlgorithmIdentifier normalization. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rename verify --> verifySignature (because "verify" is a macro on Mac) Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/platform/WebCryptoAlgorithmParams.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebVector.h
diff --git a/public/platform/WebVector.h b/public/platform/WebVector.h
index bb02abcdff2cc157362507b3ce86e8dd782145a2..f704fd2a1f8e9fcabba18196227a885887fd5feb 100644
--- a/public/platform/WebVector.h
+++ b/public/platform/WebVector.h
@@ -73,6 +73,12 @@ public:
initialize(size);
}
+ template <typename U>
+ WebVector(const U* values, size_t size)
+ {
+ initializeFrom(values, size);
+ }
+
WebVector(const WebVector<T>& other)
{
initializeFrom(other.m_ptr, other.m_size);
« no previous file with comments | « public/platform/WebCryptoAlgorithmParams.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698