Changeset 278615 in webkit
- Timestamp:
- Jun 8, 2021, 9:54:10 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-607-branch/Source/WebCore/css/FontFace.cpp
r239535 r278615 444 444 if (!m_loadedPromise.isFulfilled()) 445 445 m_loadedPromise.resolve(*this); 446 deref(); 446 if (face.status() != CSSFontFace::Status::Success && face.status() != CSSFontFace::Status::Failure) 447 deref(); 447 448 return; 448 449 case CSSFontFace::Status::Failure: … … 451 452 if (!m_loadedPromise.isFulfilled()) 452 453 m_loadedPromise.reject(Exception { NetworkError }); 453 deref(); 454 if (face.status() != CSSFontFace::Status::Success && face.status() != CSSFontFace::Status::Failure) 455 deref(); 454 456 return; 455 457 case CSSFontFace::Status::Pending:
Note:
See TracChangeset
for help on using the changeset viewer.