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

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

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed config.gni. Minor cleanups. Created 6 years, 5 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/NormalizeAlgorithm.cpp
diff --git a/Source/modules/crypto/NormalizeAlgorithm.cpp b/Source/modules/crypto/NormalizeAlgorithm.cpp
index caaef8cf72e76da8cc3c8294915453630be8e87c..0e2549e4550faffaaa213c3a11ce865bba30508f 100644
--- a/Source/modules/crypto/NormalizeAlgorithm.cpp
+++ b/Source/modules/crypto/NormalizeAlgorithm.cpp
@@ -54,7 +54,7 @@ struct AlgorithmNameMapping {
unsigned char algorithmNameLength;
blink::WebCryptoAlgorithmId algorithmId;
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
bool operator<(const AlgorithmNameMapping&) const;
#endif
};
@@ -75,7 +75,7 @@ const AlgorithmNameMapping algorithmNameMappings[] = {
{"RSASSA-PKCS1-V1_5", 17, blink::WebCryptoAlgorithmIdRsaSsaPkcs1v1_5},
};
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
// Essentially std::is_sorted() (however that function is new to C++11).
template <typename Iterator>

Powered by Google App Engine
This is Rietveld 408576698