| Index: Source/core/inspector/InspectorInputAgent.h
|
| diff --git a/Source/core/inspector/InspectorInputAgent.h b/Source/core/inspector/InspectorInputAgent.h
|
| index 95543eccc94c54ab89c9b25e7868c55c3dd3af97..0c1617e7c1f0433bb9b81da88a40ef6af390b46d 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;
|
| };
|
|
|
|
|