Changeset 233163 in webkit
- Timestamp:
- Jun 25, 2018 12:23:28 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r233162 r233163 1 2018-06-25 David Kilzer <ddkilzer@apple.com> 2 3 REGRESSION (r233140): v2: Windows build failure due to incomplete DocumentAnimationScheduler type 4 <https://webkit.org/b/186997> 5 6 * dom/Document.cpp: 7 (WebCore::Document::prepareForDestruction): 8 (WebCore::Document::windowScreenDidChange): 9 * dom/Document.h: 10 - DocumentAnimationScheduler is behind the 11 USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) macro, which 12 is disabled on Windows. 13 - This also reverts my fix in r233144 since it didn't work. 14 1 15 2018-06-25 Youenn Fablet <youenn@apple.com> 2 16 -
trunk/Source/WebCore/dom/Document.cpp
r233144 r233163 57 57 #include "DateComponents.h" 58 58 #include "DebugPageOverlays.h" 59 #include "DocumentAnimationScheduler.h" 59 60 #include "DocumentLoader.h" 60 61 #include "DocumentMarkerController.h" … … 2444 2445 } 2445 2446 2447 #if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) 2446 2448 if (m_animationScheduler) { 2447 2449 m_animationScheduler->detachFromDocument(); 2448 2450 m_animationScheduler = nullptr; 2449 2451 } 2452 #endif 2450 2453 2451 2454 m_hasPreparedForDestruction = true; … … 5925 5928 void Document::windowScreenDidChange(PlatformDisplayID displayID) 5926 5929 { 5930 #if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) 5927 5931 if (m_animationScheduler) 5928 5932 m_animationScheduler->windowScreenDidChange(displayID); 5933 #endif 5929 5934 5930 5935 if (RenderView* view = renderView()) { … … 7717 7722 } 7718 7723 7724 #if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) 7719 7725 DocumentAnimationScheduler& Document::animationScheduler() 7720 7726 { … … 7724 7730 return *m_animationScheduler; 7725 7731 } 7732 #endif 7726 7733 7727 7734 DocumentTimeline& Document::timeline() -
trunk/Source/WebCore/dom/Document.h
r233144 r233163 31 31 #include "ContainerNode.h" 32 32 #include "DisabledAdaptations.h" 33 #include "DocumentAnimationScheduler.h"34 33 #include "DocumentEventQueue.h" 35 34 #include "DocumentIdentifier.h" … … 82 81 namespace WebCore { 83 82 84 class DocumentAnimationScheduler;85 83 class ApplicationStateChangeListener; 86 84 class AXObjectCache; … … 106 104 class DatabaseThread; 107 105 class DeferredPromise; 106 class DocumentAnimationScheduler; 108 107 class DocumentFragment; 109 108 class DocumentLoader; … … 1409 1408 WEBCORE_EXPORT void setConsoleMessageListener(RefPtr<StringCallback>&&); // For testing. 1410 1409 1410 #if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) 1411 1411 DocumentAnimationScheduler& animationScheduler(); 1412 #endif 1412 1413 1413 1414 WEBCORE_EXPORT DocumentTimeline& timeline(); … … 1925 1926 bool m_grantStorageAccessOverride { false }; 1926 1927 1928 #if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) 1927 1929 RefPtr<DocumentAnimationScheduler> m_animationScheduler; 1930 #endif 1928 1931 RefPtr<DocumentTimeline> m_timeline; 1929 1932 DocumentIdentifier m_identifier;
Note: See TracChangeset
for help on using the changeset viewer.