Changeset 218311 in webkit
- Timestamp:
- Jun 14, 2017 7:36:36 PM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r218300 r218311 1 2017-06-14 Zalan Bujtas <zalan@apple.com> 2 3 animations-paused-in-background-page.html and animated-svg-image-removed-from-document-paused.html fail after r218284 4 https://bugs.webkit.org/show_bug.cgi?id=173393 5 6 Reviewed by Simon Fraser. 7 8 Testing cares really about whether the animation has initiated. 9 10 * platform/graphics/Image.h: 11 (WebCore::Image::animationPending): 12 * testing/Internals.cpp: 13 (WebCore::Internals::isImageAnimating): 14 1 15 2017-06-14 Dean Jackson <dino@apple.com> 2 16 -
trunk/Source/WebCore/platform/graphics/Image.h
r218284 r218311 136 136 virtual void imageFrameAvailableAtIndex(size_t) { } 137 137 virtual bool isAnimating() const { return false; } 138 bool animationPending() const { return m_animationStartTimer.isActive(); } 138 139 139 140 // Typically the CachedImage that owns us. -
trunk/Source/WebCore/testing/Internals.cpp
r218083 r218311 802 802 return false; 803 803 804 return image->isAnimating() ;804 return image->isAnimating() || image->animationPending(); 805 805 } 806 806
Note: See TracChangeset
for help on using the changeset viewer.