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

Unified Diff: Source/core/events/NodeEventContext.cpp

Issue 308073005: Oilpan: Replace RefPtrs to Node and its subclasses in core/events/ with Oilpan transition types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
« no previous file with comments | « Source/core/events/NodeEventContext.h ('k') | Source/core/events/WindowEventContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/NodeEventContext.cpp
diff --git a/Source/core/events/NodeEventContext.cpp b/Source/core/events/NodeEventContext.cpp
index e422cceaf80797f268958cacc1e895a08565bb2b..f520f5ae4e7eb3940f8df9b4a251995a232e3d86 100644
--- a/Source/core/events/NodeEventContext.cpp
+++ b/Source/core/events/NodeEventContext.cpp
@@ -35,7 +35,7 @@
namespace WebCore {
-NodeEventContext::NodeEventContext(PassRefPtr<Node> node, PassRefPtr<EventTarget> currentTarget)
+NodeEventContext::NodeEventContext(PassRefPtrWillBeRawPtr<Node> node, PassRefPtr<EventTarget> currentTarget)
: m_node(node)
, m_currentTarget(currentTarget)
{
@@ -46,6 +46,11 @@ NodeEventContext::~NodeEventContext()
{
}
+void NodeEventContext::trace(Visitor* visitor)
+{
+ visitor->trace(m_node);
+}
+
void NodeEventContext::handleLocalEvents(Event* event) const
{
if (touchEventContext()) {
« no previous file with comments | « Source/core/events/NodeEventContext.h ('k') | Source/core/events/WindowEventContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698