Index: third_party/WebKit/Source/platform/text/BidiResolver.h |
diff --git a/third_party/WebKit/Source/platform/text/BidiResolver.h b/third_party/WebKit/Source/platform/text/BidiResolver.h |
index fafb6c288964e3b27ed3f2f0f04abe1550d2e6ca..3257d3310a50200bd8b76756f75e25fdba407458 100644 |
--- a/third_party/WebKit/Source/platform/text/BidiResolver.h |
+++ b/third_party/WebKit/Source/platform/text/BidiResolver.h |
@@ -223,7 +223,7 @@ class BidiResolver final { |
m_nestedIsolateCount(0), |
m_trailingSpaceRun(0) {} |
-#if ENABLE(ASSERT) |
+#if DCHECK_IS_ON() |
~BidiResolver(); |
#endif |
@@ -375,7 +375,7 @@ class BidiResolver final { |
HashMap<Run*, MidpointState<Iterator>> m_midpointStateForIsolatedRun; |
}; |
-#if ENABLE(ASSERT) |
+#if DCHECK_IS_ON() |
template <class Iterator, class Run, class IsolatedRun> |
BidiResolver<Iterator, Run, IsolatedRun>::~BidiResolver() { |
// The owner of this resolver should have handled the isolated runs. |