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

Unified Diff: Source/modules/geolocation/GeoNotifier.h

Issue 563703002: Oilpan: Enable oilpan for callback classes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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/geolocation/GeoNotifier.h
diff --git a/Source/modules/geolocation/GeoNotifier.h b/Source/modules/geolocation/GeoNotifier.h
index a1471c9a21751a128d0140d06a316d310d21e587..d0c6178e829b6e672c38e0e4fe849d66b1ff45ff 100644
--- a/Source/modules/geolocation/GeoNotifier.h
+++ b/Source/modules/geolocation/GeoNotifier.h
@@ -19,7 +19,7 @@ class PositionOptions;
class GeoNotifier : public GarbageCollectedFinalized<GeoNotifier> {
public:
- static GeoNotifier* create(Geolocation* geolocation, PassOwnPtrWillBeRawPtr<PositionCallback> positionCallback, PassOwnPtrWillBeRawPtr<PositionErrorCallback> positionErrorCallback, PositionOptions* options)
+ static GeoNotifier* create(Geolocation* geolocation, PositionCallback* positionCallback, PositionErrorCallback* positionErrorCallback, PositionOptions* options)
{
return new GeoNotifier(geolocation, positionCallback, positionErrorCallback, options);
}
@@ -49,11 +49,11 @@ public:
void timerFired(Timer<GeoNotifier>*);
private:
- GeoNotifier(Geolocation*, PassOwnPtrWillBeRawPtr<PositionCallback>, PassOwnPtrWillBeRawPtr<PositionErrorCallback>, PositionOptions*);
+ GeoNotifier(Geolocation*, PositionCallback*, PositionErrorCallback*, PositionOptions*);
Member<Geolocation> m_geolocation;
- OwnPtrWillBeMember<PositionCallback> m_successCallback;
- OwnPtrWillBeMember<PositionErrorCallback> m_errorCallback;
+ Member<PositionCallback> m_successCallback;
+ Member<PositionErrorCallback> m_errorCallback;
Member<PositionOptions> m_options;
Timer<GeoNotifier> m_timer;
Member<PositionError> m_fatalError;

Powered by Google App Engine
This is Rietveld 408576698