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

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, 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
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 eb98bdc3d1f7d4d06c900f90b5de3ae36a45d5fa..9e6272efb2fa0da7d36bf60b4f2a85da9207e535 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.h
@@ -26,9 +26,9 @@ class V8RuntimeAgent;
class CORE_EXPORT InspectorAnimationAgent final : public InspectorBaseAgent<InspectorAnimationAgent, protocol::Frontend::Animation>, public protocol::Backend::Animation {
WTF_MAKE_NONCOPYABLE(InspectorAnimationAgent);
public:
- static PassOwnPtrWillBeRawPtr<InspectorAnimationAgent> create(InspectedFrames* inspectedFrames, InspectorDOMAgent* domAgent, InspectorCSSAgent* cssAgent, V8RuntimeAgent* runtimeAgent)
+ static RawPtr<InspectorAnimationAgent> create(InspectedFrames* inspectedFrames, InspectorDOMAgent* domAgent, InspectorCSSAgent* cssAgent, V8RuntimeAgent* runtimeAgent)
{
- return adoptPtrWillBeNoop(new InspectorAnimationAgent(inspectedFrames, domAgent, cssAgent, runtimeAgent));
+ return new InspectorAnimationAgent(inspectedFrames, domAgent, cssAgent, runtimeAgent);
}
// Base agent methods.
@@ -69,13 +69,13 @@ private:
blink::Animation* animationClone(blink::Animation*);
String createCSSId(blink::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;
V8RuntimeAgent* m_runtimeAgent;
- PersistentHeapHashMapWillBeHeapHashMap<String, Member<blink::Animation>> m_idToAnimation;
- PersistentHeapHashMapWillBeHeapHashMap<String, Member<blink::Animation>> m_idToAnimationClone;
- WillBeHeapHashMap<String, String> m_idToAnimationType;
+ HeapHashMap<String, Member<blink::Animation>> m_idToAnimation;
+ HeapHashMap<String, Member<blink::Animation>> m_idToAnimationClone;
+ HeapHashMap<String, String> m_idToAnimationType;
bool m_isCloning;
HashSet<String> m_clearedAnimations;
};

Powered by Google App Engine
This is Rietveld 408576698