Changeset 233163 in webkit


Ignore:
Timestamp:
Jun 25, 2018 12:23:28 PM (6 years ago)
Author:
ddkilzer@apple.com
Message:

REGRESSION (r233140): v2: Windows build failure due to incomplete DocumentAnimationScheduler type
<https://webkit.org/b/186997>

  • dom/Document.cpp:

(WebCore::Document::prepareForDestruction):
(WebCore::Document::windowScreenDidChange):

  • dom/Document.h:
  • DocumentAnimationScheduler is behind the USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) macro, which is disabled on Windows.
  • This also reverts my fix in r233144 since it didn't work.
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r233162 r233163  
     12018-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
    1152018-06-25  Youenn Fablet  <youenn@apple.com>
    216
  • trunk/Source/WebCore/dom/Document.cpp

    r233144 r233163  
    5757#include "DateComponents.h"
    5858#include "DebugPageOverlays.h"
     59#include "DocumentAnimationScheduler.h"
    5960#include "DocumentLoader.h"
    6061#include "DocumentMarkerController.h"
     
    24442445    }
    24452446
     2447#if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR)
    24462448    if (m_animationScheduler) {
    24472449        m_animationScheduler->detachFromDocument();
    24482450        m_animationScheduler = nullptr;
    24492451    }
     2452#endif
    24502453
    24512454    m_hasPreparedForDestruction = true;
     
    59255928void Document::windowScreenDidChange(PlatformDisplayID displayID)
    59265929{
     5930#if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR)
    59275931    if (m_animationScheduler)
    59285932        m_animationScheduler->windowScreenDidChange(displayID);
     5933#endif
    59295934
    59305935    if (RenderView* view = renderView()) {
     
    77177722}
    77187723
     7724#if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR)
    77197725DocumentAnimationScheduler& Document::animationScheduler()
    77207726{
     
    77247730    return *m_animationScheduler;
    77257731}
     7732#endif
    77267733
    77277734DocumentTimeline& Document::timeline()
  • trunk/Source/WebCore/dom/Document.h

    r233144 r233163  
    3131#include "ContainerNode.h"
    3232#include "DisabledAdaptations.h"
    33 #include "DocumentAnimationScheduler.h"
    3433#include "DocumentEventQueue.h"
    3534#include "DocumentIdentifier.h"
     
    8281namespace WebCore {
    8382
    84 class DocumentAnimationScheduler;
    8583class ApplicationStateChangeListener;
    8684class AXObjectCache;
     
    106104class DatabaseThread;
    107105class DeferredPromise;
     106class DocumentAnimationScheduler;
    108107class DocumentFragment;
    109108class DocumentLoader;
     
    14091408    WEBCORE_EXPORT void setConsoleMessageListener(RefPtr<StringCallback>&&); // For testing.
    14101409
     1410#if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR)
    14111411    DocumentAnimationScheduler& animationScheduler();
     1412#endif
    14121413
    14131414    WEBCORE_EXPORT DocumentTimeline& timeline();
     
    19251926    bool m_grantStorageAccessOverride { false };
    19261927
     1928#if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR)
    19271929    RefPtr<DocumentAnimationScheduler> m_animationScheduler;
     1930#endif
    19281931    RefPtr<DocumentTimeline> m_timeline;
    19291932    DocumentIdentifier m_identifier;
Note: See TracChangeset for help on using the changeset viewer.