src/hb-directwrite.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a57f5a1a185c333ae21a4ac1577387312895e107
Author: Ebrahim Byagowi <ebra...@gnu.org>
Date:   Sat Apr 28 13:58:55 2018 +0430

    [dwrite] Minor, enable the original code assertions

diff --git a/src/hb-directwrite.cc b/src/hb-directwrite.cc
index 01261891..187ab3f9 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;
     }
_______________________________________________
HarfBuzz mailing list
HarfBuzz@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to