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

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

Issue 620683006: Move PlatformEventDispatcher implementations to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@sof-fix-platform
Patch Set: Set baseurl Created 6 years, 2 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/DeviceOrientationDispatcher.cpp
diff --git a/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp b/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp
index 9b24851d369621eb80763bedb61755bc1a58a621..0880c3225f956aaa48f49030119bb0f124d1afd4 100644
--- a/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp
+++ b/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp
@@ -51,6 +51,12 @@ DeviceOrientationDispatcher::~DeviceOrientationDispatcher()
{
}
+void DeviceOrientationDispatcher::trace(Visitor* visitor)
+{
+ visitor->trace(m_lastDeviceOrientationData);
+ PlatformEventDispatcher::trace(visitor);
+}
+
void DeviceOrientationDispatcher::startListening()
{
Platform::current()->startListening(WebPlatformEventDeviceOrientation, this);
« no previous file with comments | « Source/modules/device_orientation/DeviceOrientationDispatcher.h ('k') | Source/modules/gamepad/GamepadDispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698