Changeset 252352 in webkit
- Timestamp:
- Nov 11, 2019 5:58:52 PM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r252349 r252352 1 2019-11-11 Per Arne Vollan <pvollan@apple.com> 2 3 Many legacy animation tests are timing out with VS2019 4 https://bugs.webkit.org/show_bug.cgi?id=204000 5 6 Reviewed by Brent Fulgham. 7 8 When compiling with VS2019, there is a compiler issue, where an Optional without a value is returned 9 when it should definitely have a value. Work around this issue by moving the local Optional value 10 when returning. 11 12 No new tests, covered by existing tests. 13 14 * page/animation/ImplicitAnimation.cpp: 15 (WebCore::ImplicitAnimation::timeToNextService): 16 * page/animation/KeyframeAnimation.cpp: 17 (WebCore::KeyframeAnimation::timeToNextService): 18 1 19 2019-11-11 Youenn Fablet <youenn@apple.com> 2 20 -
trunk/Source/WebCore/page/animation/ImplicitAnimation.cpp
r251220 r252352 361 361 Optional<Seconds> t = AnimationBase::timeToNextService(); 362 362 if (!t || t.value() != 0_s || preActive()) 363 #if COMPILER(MSVC) && _MSC_VER >= 1920 364 return WTFMove(t); 365 #else 363 366 return t; 367 #endif 364 368 365 369 // A return value of 0 means we need service. But if this is an accelerated animation we -
trunk/Source/WebCore/page/animation/KeyframeAnimation.cpp
r251220 r252352 516 516 Optional<Seconds> t = AnimationBase::timeToNextService(); 517 517 if (!t || t.value() != 0_s || preActive()) 518 #if COMPILER(MSVC) && _MSC_VER >= 1920 519 return WTFMove(t); 520 #else 518 521 return t; 522 #endif 519 523 520 524 // A return value of 0 means we need service. But if we only have accelerated animations we
Note: See TracChangeset
for help on using the changeset viewer.