Index: Source/modules/crypto/Algorithm.h |
diff --git a/Source/modules/crypto/Algorithm.h b/Source/modules/crypto/Algorithm.h |
index 17bfc7f366479ce2eac3dd57abc1fd24b4ee4066..5a201b96ce51282e3a3ed882009617d175485d7c 100644 |
--- a/Source/modules/crypto/Algorithm.h |
+++ b/Source/modules/crypto/Algorithm.h |
@@ -39,13 +39,11 @@ |
namespace WebCore { |
-typedef int ExceptionCode; |
- |
class Algorithm : public ScriptWrappable, public RefCounted<Algorithm> { |
public: |
- static PassRefPtr<Algorithm> create(const WebKit::WebCryptoAlgorithm& algorithm) { return adoptRef(new Algorithm(algorithm)); } |
+ static PassRefPtr<Algorithm> create(const WebKit::WebCryptoAlgorithm&); |
- const String& name(); |
+ String name(); |
WebKit::WebCryptoAlgorithmParamsType type() const { return m_algorithm.paramsType(); } |
@@ -53,7 +51,6 @@ protected: |
explicit Algorithm(const WebKit::WebCryptoAlgorithm&); |
const WebKit::WebCryptoAlgorithm m_algorithm; |
- String m_name; |
}; |
} // namespace WebCore |