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

Unified Diff: third_party/WebKit/Source/platform/text/BidiResolver.h

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: m_domTreeVersion initialization Created 3 years, 11 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: 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.
« no previous file with comments | « third_party/WebKit/Source/platform/heap/Visitor.cpp ('k') | third_party/WebKit/Source/platform/weborigin/KURL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698