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

Unified Diff: Source/core/frame/DeviceSensorEventController.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/core/frame/DeviceSensorEventController.cpp
diff --git a/Source/core/frame/DeviceSensorEventController.cpp b/Source/core/frame/DeviceSensorEventController.cpp
index 4046775719eb8f183d731dbaf60a9d9921fe0d0a..912ce1dce9132ba46fd75bf64af4553ec79f4b19 100644
--- a/Source/core/frame/DeviceSensorEventController.cpp
+++ b/Source/core/frame/DeviceSensorEventController.cpp
@@ -56,12 +56,12 @@ void DeviceSensorEventController::fireDeviceEvent(Timer<DeviceSensorEventControl
dispatchDeviceEvent(getLastEvent());
}
-void DeviceSensorEventController::dispatchDeviceEvent(PassRefPtr<Event> prpEvent)
+void DeviceSensorEventController::dispatchDeviceEvent(PassRefPtrWillBeRawPtr<Event> prpEvent)
{
if (!m_document.domWindow() || m_document.activeDOMObjectsAreSuspended() || m_document.activeDOMObjectsAreStopped())
return;
- RefPtr<Event> event = prpEvent;
+ RefPtrWillBeRawPtr<Event> event = prpEvent;
m_document.domWindow()->dispatchEvent(event);
if (m_needsCheckingNullEvents) {

Powered by Google App Engine
This is Rietveld 408576698