The Short Version
Standard chemistry definitions do not support this statement. O2 is a diatomic molecule, and diatomic molecules are classified as linear because two nuclei define a straight line. References to electron density or vibration do not change the formal molecular geometry to bent.