| Index: Source/core/inspector/InspectorInputAgent.h
|
| diff --git a/Source/core/inspector/InspectorInputAgent.h b/Source/core/inspector/InspectorInputAgent.h
|
| index 3cdf537e16fbcdd126411489d98abb39be2758e9..7775a7427451546d441d6cbd35b685c4826b9717 100644
|
| --- a/Source/core/inspector/InspectorInputAgent.h
|
| +++ b/Source/core/inspector/InspectorInputAgent.h
|
| @@ -38,16 +38,16 @@
|
|
|
| namespace blink {
|
| class InspectorClient;
|
| -class InspectorPageAgent;
|
| +class Page;
|
|
|
| typedef String ErrorString;
|
|
|
| class InspectorInputAgent final : public InspectorBaseAgent<InspectorInputAgent>, public InspectorBackendDispatcher::InputCommandHandler {
|
| WTF_MAKE_NONCOPYABLE(InspectorInputAgent);
|
| public:
|
| - static PassOwnPtrWillBeRawPtr<InspectorInputAgent> create(InspectorPageAgent* pageAgent, InspectorClient* client)
|
| + static PassOwnPtrWillBeRawPtr<InspectorInputAgent> create(Page* page, InspectorClient* client)
|
| {
|
| - return adoptPtrWillBeNoop(new InspectorInputAgent(pageAgent, client));
|
| + return adoptPtrWillBeNoop(new InspectorInputAgent(page, client));
|
| }
|
|
|
| virtual ~InspectorInputAgent();
|
| @@ -58,9 +58,9 @@
|
| virtual void dispatchMouseEvent(ErrorString*, const String& type, int x, int y, const int* modifiers, const double* timestamp, const String* button, const int* clickCount) override;
|
| virtual void dispatchTouchEvent(ErrorString*, const String& type, const RefPtr<JSONArray>& touchPoints, const int* modifiers, const double* timestamp) override;
|
| private:
|
| - InspectorInputAgent(InspectorPageAgent*, InspectorClient*);
|
| + InspectorInputAgent(Page*, InspectorClient*);
|
|
|
| - RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
|
| + RawPtrWillBeMember<Page> m_page;
|
| InspectorClient* m_client;
|
| };
|
|
|
|
|