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

Unified Diff: Source/modules/device_orientation/DeviceOrientationEvent.cpp

Issue 181153003: Make Event RefCountedGarbageCollected and implement trace() methods to the Event hierarcy (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/modules/device_orientation/DeviceOrientationEvent.cpp
diff --git a/Source/modules/device_orientation/DeviceOrientationEvent.cpp b/Source/modules/device_orientation/DeviceOrientationEvent.cpp
index dc899d285b2f0d681988559b2391f2c1b5638d74..5ae6a11e13c7db12c6d2cb5c7c5fb54829b696ff 100644
--- a/Source/modules/device_orientation/DeviceOrientationEvent.cpp
+++ b/Source/modules/device_orientation/DeviceOrientationEvent.cpp
@@ -98,4 +98,10 @@ const AtomicString& DeviceOrientationEvent::interfaceName() const
return EventNames::DeviceOrientationEvent;
}
+void DeviceOrientationEvent::trace(Visitor* visitor)
+{
+ visitor->trace(m_orientation);
+ Event::trace(visitor);
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698