This commit fixes a regression caused by the recent commit 9f711b5f. CCBUG: 292250 (cherry picked from commit 84a9cc4b)