Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[ContentChangeObserver] Move DOM timer handling from global to Conten…
…tChangeObserver class https://bugs.webkit.org/show_bug.cgi?id=195070 <rdar://problem/48417650> Reviewed by Tim Horton. Add DOM timer list to ContentChangeObserver and move the related code over from WK functions. * page/ios/ContentChangeObserver.h: * page/ios/ContentChangeObserver.mm: (WebCore::ContentChangeObserver::startObservingDOMTimerScheduling): (WebCore::ContentChangeObserver::countOfObservedDOMTimers): (WebCore::ContentChangeObserver::clearObservedDOMTimers): (WebCore::ContentChangeObserver::setObservedContentChange): (WebCore::ContentChangeObserver::containsObservedDOMTimer): (WebCore::ContentChangeObserver::addObservedDOMTimer): (WebCore::ContentChangeObserver::removeObservedDOMTimer): * platform/ios/wak/WKContentObservation.cpp: (WKStartObservingDOMTimerScheduling): (WKSetObservedContentChange): (WebThreadGetObservedDOMTimers): Deleted. (WebThreadCountOfObservedDOMTimers): Deleted. (WebThreadClearObservedDOMTimers): Deleted. (WebThreadContainsObservedDOMTimer): Deleted. (WebThreadAddObservedDOMTimer): Deleted. (WebThreadRemoveObservedDOMTimer): Deleted. * platform/ios/wak/WKContentObservation.h: Canonical link: https://commits.webkit.org/209467@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242166 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
5 changed files
with
45 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -94,6 +94,7 @@ class ContentChangeObserver { | ||
void clearTimersAndReportContentChange(); | ||
|
||
Page& m_page; | ||
HashSet<const DOMTimer*> m_DOMTimerList; | ||
}; | ||
|
||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters