Bug 1835407 - Remove useless check in style sharing cache. r=dholbert