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

Unified Diff: Source/modules/crypto/Algorithm.cpp

Issue 23503016: Cleanup: Remove the WebCryptoAlgorithm::name() attribute. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rename get() --> instance() Created 7 years, 4 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
Index: Source/modules/crypto/Algorithm.cpp
diff --git a/Source/modules/crypto/Algorithm.cpp b/Source/modules/crypto/Algorithm.cpp
index 4c6ec4f46355c2b06b940f0744666da901354a32..9ffbf6fb45f6c4156b5697a23ae34efa408991d6 100644
--- a/Source/modules/crypto/Algorithm.cpp
+++ b/Source/modules/crypto/Algorithm.cpp
@@ -35,6 +35,7 @@
#include "modules/crypto/AesKeyGenParams.h"
#include "modules/crypto/HmacKeyParams.h"
#include "modules/crypto/HmacParams.h"
+#include "modules/crypto/NormalizeAlgorithm.h"
#include "modules/crypto/RsaKeyGenParams.h"
#include "modules/crypto/RsaSsaParams.h"
#include "wtf/text/WTFString.h"
@@ -71,7 +72,7 @@ Algorithm::Algorithm(const WebKit::WebCryptoAlgorithm& algorithm)
String Algorithm::name()
{
- return m_algorithm.name();
+ return algorithmIdToName(m_algorithm.id());
}
} // namespace WebCore
« no previous file with comments | « Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp ('k') | Source/modules/crypto/NormalizeAlgorithm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698