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

Unified Diff: Source/modules/geolocation/testing/GeolocationClientMock.h

Issue 319863003: Enable Oilpan for modules/geolocation by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/testing/GeolocationClientMock.h
diff --git a/Source/modules/geolocation/testing/GeolocationClientMock.h b/Source/modules/geolocation/testing/GeolocationClientMock.h
index 3cd22bbb3bf2c732bb57769d9e8b0f8c6e32ac67..3bb6a45643066ec915ad145230dd2f319f09419c 100644
--- a/Source/modules/geolocation/testing/GeolocationClientMock.h
+++ b/Source/modules/geolocation/testing/GeolocationClientMock.h
@@ -36,7 +36,6 @@
#include "platform/Timer.h"
#include "platform/heap/Handle.h"
#include "wtf/HashSet.h"
-#include "wtf/RefPtr.h"
#include "wtf/text/WTFString.h"
namespace WebCore {
@@ -50,7 +49,7 @@ public:
GeolocationClientMock();
virtual ~GeolocationClientMock();
- void setPosition(PassRefPtrWillBeRawPtr<GeolocationPosition>);
+ void setPosition(GeolocationPosition*);
void setPositionUnavailableError(const String& errorMessage);
void setPermission(bool allowed);
int numberOfPendingPermissionRequests() const;
@@ -76,7 +75,7 @@ private:
void clearError();
HashSet<GeolocationController*> m_controllers;
- RefPtrWillBePersistent<GeolocationPosition> m_lastPosition;
+ Persistent<GeolocationPosition> m_lastPosition;
bool m_hasError;
String m_errorMessage;
Timer<GeolocationClientMock> m_controllerTimer;
@@ -90,7 +89,7 @@ private:
};
PermissionState m_permissionState;
- typedef WillBePersistentHeapHashSet<RefPtrWillBeMember<Geolocation> > GeolocationSet;
+ typedef PersistentHeapHashSet<Member<Geolocation> > GeolocationSet;
GeolocationSet m_pendingPermissions;
};

Powered by Google App Engine
This is Rietveld 408576698