This patch doesn't affect behavior - it's just refactoring / de-duplicating. (The refactored function does include some new "legacy box" code, just for completeness & to ensure that the included assertion passes. But beyond the assertion, that new code isn't exercised right now -- this function's only callsites are skipped if the NS_STATE_FLEX_IS_EMULATING_LEGACY_BOX state-bit is set on the container. Hence, this patch still doesn't affect behavior, even though it's adding some new logic in the refactored-out function.) MozReview-Commit-ID: G5aCzwTwkTa
18 KiB
18 KiB