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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
Index: third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.h b/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.h
index 7326761c597dbdbcd9f81382730744998fcc8bc9..55e798a5e3dbd249028b7910294fe9950d5c2187 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.h
@@ -27,9 +27,9 @@ class TimingFunction;
class CORE_EXPORT InspectorAnimationAgent final : public InspectorBaseAgent<InspectorAnimationAgent, InspectorFrontend::Animation>, public InspectorBackendDispatcher::AnimationCommandHandler {
WTF_MAKE_NONCOPYABLE(InspectorAnimationAgent);
public:
- static PassOwnPtrWillBeRawPtr<InspectorAnimationAgent> create(InspectedFrames* inspectedFrames, InspectorDOMAgent* domAgent, InspectorCSSAgent* cssAgent, InjectedScriptManager* injectedScriptManager)
+ static RawPtr<InspectorAnimationAgent> create(InspectedFrames* inspectedFrames, InspectorDOMAgent* domAgent, InspectorCSSAgent* cssAgent, InjectedScriptManager* injectedScriptManager)
{
- return adoptPtrWillBeNoop(new InspectorAnimationAgent(inspectedFrames, domAgent, cssAgent, injectedScriptManager));
+ return (new InspectorAnimationAgent(inspectedFrames, domAgent, cssAgent, injectedScriptManager));
}
// Base agent methods.
@@ -72,13 +72,13 @@ private:
Animation* animationClone(Animation*);
String createCSSId(Animation&);
- RawPtrWillBeMember<InspectedFrames> m_inspectedFrames;
- RawPtrWillBeMember<InspectorDOMAgent> m_domAgent;
- RawPtrWillBeMember<InspectorCSSAgent> m_cssAgent;
+ Member<InspectedFrames> m_inspectedFrames;
+ Member<InspectorDOMAgent> m_domAgent;
+ Member<InspectorCSSAgent> m_cssAgent;
InjectedScriptManager* m_injectedScriptManager;
- PersistentHeapHashMapWillBeHeapHashMap<String, Member<Animation>> m_idToAnimation;
- PersistentHeapHashMapWillBeHeapHashMap<String, Member<Animation>> m_idToAnimationClone;
- WillBeHeapHashMap<String, AnimationType> m_idToAnimationType;
+ HeapHashMap<String, Member<Animation>> m_idToAnimation;
+ HeapHashMap<String, Member<Animation>> m_idToAnimationClone;
+ HeapHashMap<String, AnimationType> m_idToAnimationType;
bool m_isCloning;
HashSet<String> m_clearedAnimations;
};

Powered by Google App Engine
This is Rietveld 408576698