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

Unified Diff: Source/core/inspector/InspectorInputAgent.h

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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: 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;
};

Powered by Google App Engine
This is Rietveld 408576698