Bug 903475 - Fix iteration over coverage structs. r=behdad, a=bajaj
authorJohn Daggett <jdaggett@mozilla.com>
Thu, 29 Aug 2013 13:32:58 +0900
changeset 153909 d834dfe34a299654e6a48311d37bd5c5b30d1cb5
parent 153908 507a9fc2d45b100038d5f74f5c78c1fc3ebf85f9
child 153910 669f7ea493b01e26789f9d56092cd57adfd0b087
push id2859
push userakeybl@mozilla.com
push dateMon, 16 Sep 2013 19:14:59 +0000
treeherdermozilla-beta@87d3c51cd2bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbehdad, bajaj
bugs903475
milestone25.0a2
Bug 903475 - Fix iteration over coverage structs. r=behdad, a=bajaj
gfx/harfbuzz/src/hb-ot-layout-common-private.hh
--- a/gfx/harfbuzz/src/hb-ot-layout-common-private.hh
+++ b/gfx/harfbuzz/src/hb-ot-layout-common-private.hh
@@ -875,17 +875,17 @@ struct Coverage
       case 2: return u.format2.init (c_.u.format2);
       default:return;
       }
     }
     inline bool more (void) {
       switch (format) {
       case 1: return u.format1.more ();
       case 2: return u.format2.more ();
-      default:return true;
+      default:return false;
       }
     }
     inline void next (void) {
       switch (format) {
       case 1: u.format1.next (); break;
       case 2: u.format2.next (); break;
       default:                   break;
       }