Index: Source/core/inspector/InspectorCanvasAgent.h |
diff --git a/Source/core/inspector/InspectorCanvasAgent.h b/Source/core/inspector/InspectorCanvasAgent.h |
index 1e7af0990afdfce7c355f8f7dfc318bdceaf42a9..3c03d7c81baf3434dfb6ae744c1325180a2645d2 100644 |
--- a/Source/core/inspector/InspectorCanvasAgent.h |
+++ b/Source/core/inspector/InspectorCanvasAgent.h |
@@ -54,11 +54,12 @@ typedef String ErrorString; |
class InspectorCanvasAgent FINAL : public InspectorBaseAgent<InspectorCanvasAgent>, public InspectorBackendDispatcher::CanvasCommandHandler { |
public: |
- static PassOwnPtr<InspectorCanvasAgent> create(InspectorPageAgent* pageAgent, InjectedScriptManager* injectedScriptManager) |
+ static PassOwnPtrWillBeRawPtr<InspectorCanvasAgent> create(InspectorPageAgent* pageAgent, InjectedScriptManager* injectedScriptManager) |
{ |
- return adoptPtr(new InspectorCanvasAgent(pageAgent, injectedScriptManager)); |
+ return adoptPtrWillBeNoop(new InspectorCanvasAgent(pageAgent, injectedScriptManager)); |
} |
virtual ~InspectorCanvasAgent(); |
+ virtual void trace(Visitor*) OVERRIDE; |
virtual void setFrontend(InspectorFrontend*) OVERRIDE; |
virtual void clearFrontend() OVERRIDE; |
@@ -96,7 +97,7 @@ private: |
bool checkIsEnabled(ErrorString*) const; |
ScriptValue notifyRenderingContextWasWrapped(const ScriptValue&); |
- InspectorPageAgent* m_pageAgent; |
+ RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; |
InjectedScriptManager* m_injectedScriptManager; |
haraken
2014/06/11 06:09:48
Raw pointers back to InjectedScriptManager look sa
|
InspectorFrontend::Canvas* m_frontend; |
bool m_enabled; |