Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(549)

Unified Diff: Source/core/dom/ScriptedAnimationController.h

Issue 1093803002: ScriptedAnimationController: factor out has-schedulable items predicate. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/dom/ScriptedAnimationController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ScriptedAnimationController.h
diff --git a/Source/core/dom/ScriptedAnimationController.h b/Source/core/dom/ScriptedAnimationController.h
index 3908cf6f8c231ed1325ce3fd40c400ec6ffe2c43..81406ee59daee012b94da783d2ef55423e216856 100644
--- a/Source/core/dom/ScriptedAnimationController.h
+++ b/Source/core/dom/ScriptedAnimationController.h
@@ -77,12 +77,14 @@ private:
void executeCallbacks(double monotonicTimeNow);
void callMediaQueryListListeners();
+ bool hasScheduledItems() const;
+
RawPtrWillBeMember<Document> m_document;
FrameRequestCallbackCollection m_callbackCollection;
int m_suspendCount;
WillBeHeapVector<RefPtrWillBeMember<Event>> m_eventQueue;
WillBeHeapListHashSet<std::pair<RawPtrWillBeMember<const EventTarget>, const StringImpl*>> m_perFrameEvents;
- typedef WillBeHeapListHashSet<RefPtrWillBeMember<MediaQueryListListener>> MediaQueryListListeners;
+ using MediaQueryListListeners = WillBeHeapListHashSet<RefPtrWillBeMember<MediaQueryListListener>>;
MediaQueryListListeners m_mediaQueryListListeners;
};
« no previous file with comments | « no previous file | Source/core/dom/ScriptedAnimationController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698