Index: Source/core/inspector/InspectorInputAgent.h |
diff --git a/Source/core/inspector/InspectorInputAgent.h b/Source/core/inspector/InspectorInputAgent.h |
index 7a6ca29f0be24a0f1b75b8a1afc63778cc585049..80a18a77e0b9c6a83d8450b0f48f7cbba388a8d9 100644 |
--- a/Source/core/inspector/InspectorInputAgent.h |
+++ b/Source/core/inspector/InspectorInputAgent.h |
@@ -45,12 +45,13 @@ typedef String ErrorString; |
class InspectorInputAgent FINAL : public InspectorBaseAgent<InspectorInputAgent>, public InspectorBackendDispatcher::InputCommandHandler { |
WTF_MAKE_NONCOPYABLE(InspectorInputAgent); |
public: |
- static PassOwnPtr<InspectorInputAgent> create(Page* page, InspectorClient* client) |
+ static PassOwnPtrWillBeRawPtr<InspectorInputAgent> create(Page* page, InspectorClient* client) |
{ |
- return adoptPtr(new InspectorInputAgent(page, client)); |
+ return adoptPtrWillBeNoop(new InspectorInputAgent(page, client)); |
} |
virtual ~InspectorInputAgent(); |
+ virtual void trace(Visitor*) OVERRIDE; |
// Methods called from the frontend for simulating input. |
virtual void dispatchKeyEvent(ErrorString*, const String& type, const int* modifiers, const double* timestamp, const String* text, const String* unmodifiedText, const String* keyIdentifier, const int* windowsVirtualKeyCode, const int* nativeVirtualKeyCode, const bool* autoRepeat, const bool* isKeypad, const bool* isSystemKey) OVERRIDE; |
@@ -59,7 +60,7 @@ public: |
private: |
InspectorInputAgent(Page*, InspectorClient*); |
- Page* m_page; |
+ RawPtrWillBeMember<Page> m_page; |
InspectorClient* m_client; |
}; |