[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Mon Apr 30 23:54:37 UTC 2018


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

New commits:
commit a57f5a1a185c333ae21a4ac1577387312895e107
Author: Ebrahim Byagowi <ebrahim at 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;
     }


More information about the HarfBuzz mailing list