Chromium Code Reviews| Index: Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp |
| diff --git a/Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp b/Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp |
| index 309ba566974d5d3f484a09f417a2db29114e66ec..909564d3c2a02ca11b4b020faa136fc1a2f5debf 100644 |
| --- a/Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp |
| +++ b/Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp |
| @@ -99,6 +99,12 @@ void WebCryptoAlgorithm::assign(const WebCryptoAlgorithm& other) |
| m_private = other.m_private; |
| } |
| +void WebCryptoAlgorithm::assign(WebCryptoAlgorithmId id, const char* name, WebCryptoAlgorithmParams* params) |
| +{ |
| + m_private = adoptRef(new WebCryptoAlgorithmPrivate(id, name, adoptPtr(params))); |
| +} |
| + |
|
abarth-chromium
2013/07/31 00:46:51
You've got an extra blank line here.
eroman
2013/07/31 01:49:26
Done.
|
| + |
| void WebCryptoAlgorithm::reset() |
| { |
| m_private.reset(); |