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

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

Issue 1053703002: Oilpan: fix build after r192918. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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/FrameRequestCallbackCollection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/FrameRequestCallbackCollection.h
diff --git a/Source/core/dom/FrameRequestCallbackCollection.h b/Source/core/dom/FrameRequestCallbackCollection.h
index 9990fc8d8e895d86de6e9f3a4d81a3df0c856c09..43ad11a71b4cb556cf4d0753b033faf65bc729eb 100644
--- a/Source/core/dom/FrameRequestCallbackCollection.h
+++ b/Source/core/dom/FrameRequestCallbackCollection.h
@@ -13,10 +13,11 @@ class ExecutionContext;
class FrameRequestCallback;
class FrameRequestCallbackCollection final {
+ DISALLOW_ALLOCATION();
public:
explicit FrameRequestCallbackCollection(ExecutionContext*);
- typedef int CallbackId;
+ using CallbackId = int;
CallbackId registerCallback(FrameRequestCallback*);
void cancelCallback(CallbackId);
void executeCallbacks(double highResNowMs, double highResNowMsLegacy);
@@ -26,13 +27,13 @@ public:
DECLARE_TRACE();
private:
- typedef PersistentHeapVectorWillBeHeapVector<Member<FrameRequestCallback>> CallbackList;
+ using CallbackList = PersistentHeapVectorWillBeHeapVector<Member<FrameRequestCallback>>;
CallbackList m_callbacks;
CallbackList m_callbacksToInvoke; // only non-empty while inside executeCallbacks
CallbackId m_nextCallbackId = 0;
- ExecutionContext* m_context = nullptr;
+ RawPtrWillBeMember<ExecutionContext> m_context;
};
} // namespace blink
« no previous file with comments | « no previous file | Source/core/dom/FrameRequestCallbackCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698