diff --git a/layout/style/nsStyleContext.h b/layout/style/nsStyleContext.h index 9b7f9ce0d4dc..94dc4ba14dea 100644 --- a/layout/style/nsStyleContext.h +++ b/layout/style/nsStyleContext.h @@ -692,9 +692,6 @@ private: newData = mSource.AsGeckoRuleNode()-> \ GetStyle##name_(this); \ } else { \ - if (!aComputeData) { \ - return nullptr; \ - } \ newData = \ Servo_GetStyle##name_(mSource.AsServoComputedValues()); \ /* perform any remaining main thread work on the struct */ \