From a57f5a1a185c333ae21a4ac1577387312895e107 Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Sat, 28 Apr 2018 13:58:55 +0430 Subject: [PATCH] [dwrite] Minor, enable the original code assertions --- src/hb-directwrite.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-directwrite.cc b/src/hb-directwrite.cc index 012618914..187ab3f9d 100644 --- a/src/hb-directwrite.cc +++ b/src/hb-directwrite.cc @@ -488,14 +488,14 @@ protected: mCurrentRun = run; return; } - // NS_NOTREACHED ("We should always be able to find the text position in one of our runs"); + assert (0); // We should always be able to find the text position in one of our runs } void SplitCurrentRun (uint32_t splitPosition) { if (!mCurrentRun) { - //NS_ASSERTION (false, "SplitCurrentRun called without current run."); + assert (0); // SplitCurrentRun called without current run // Shouldn't be calling this when no current run is set! return; }