Fix build bustage for bug 877461
Bug 880441. Fix erroneous assertion with double buffering; r=mattwoodrow