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

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

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. 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
« no previous file with comments | « Source/platform/heap/Visitor.cpp ('k') | Source/platform/weborigin/KURL.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/text/BidiResolver.h
diff --git a/Source/platform/text/BidiResolver.h b/Source/platform/text/BidiResolver.h
index d1fd609f45a4d1e6a64492f3884b23cb2589378f..f061fa72075297e3dd94eb7d869bc85fca08b5ef 100644
--- a/Source/platform/text/BidiResolver.h
+++ b/Source/platform/text/BidiResolver.h
@@ -201,7 +201,7 @@ public:
{
}
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
~BidiResolver();
#endif
@@ -315,7 +315,7 @@ private:
HashMap<Run *, MidpointState<Iterator> > m_midpointStateForIsolatedRun;
};
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
template <class Iterator, class Run>
BidiResolver<Iterator, Run>::~BidiResolver()
{
« no previous file with comments | « Source/platform/heap/Visitor.cpp ('k') | Source/platform/weborigin/KURL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698