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

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

Issue 216523002: Oilpan: Replace most of RefPtrs for Event objects with oilpan's transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/DeviceMotionController.cpp
diff --git a/Source/modules/device_orientation/DeviceMotionController.cpp b/Source/modules/device_orientation/DeviceMotionController.cpp
index 7dbe1cf8bf8cb74a6ea186161be7e9be7d24f0c5..3a5e5b96406dc51dcf3e47f969d6694db9d4927f 100644
--- a/Source/modules/device_orientation/DeviceMotionController.cpp
+++ b/Source/modules/device_orientation/DeviceMotionController.cpp
@@ -72,7 +72,7 @@ bool DeviceMotionController::hasLastData()
return DeviceMotionDispatcher::instance().latestDeviceMotionData();
}
-PassRefPtr<Event> DeviceMotionController::getLastEvent()
+PassRefPtrWillBeRawPtr<Event> DeviceMotionController::getLastEvent()
{
return DeviceMotionEvent::create(EventTypeNames::devicemotion, DeviceMotionDispatcher::instance().latestDeviceMotionData());
}

Powered by Google App Engine
This is Rietveld 408576698