Index: third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp |
diff --git a/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp b/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp |
index e9188990987231f75120563b9cf554f5b6de7791..b21a2c39c2ed8e809380b81501fe0470f22ebe87 100644 |
--- a/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp |
+++ b/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp |
@@ -59,7 +59,7 @@ struct AlgorithmNameMapping { |
unsigned char algorithmNameLength; |
WebCryptoAlgorithmId algorithmId; |
-#if ENABLE(ASSERT) |
+#if DCHECK_IS_ON() |
bool operator<(const AlgorithmNameMapping&) const; |
#endif |
}; |
@@ -91,7 +91,7 @@ static_assert(WebCryptoAlgorithmIdLast + 1 == |
WTF_ARRAY_LENGTH(algorithmNameMappings), |
"algorithmNameMappings needs to be updated"); |
-#if ENABLE(ASSERT) |
+#if DCHECK_IS_ON() |
// Essentially std::is_sorted() (however that function is new to C++11). |
template <typename Iterator> |