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

Unified Diff: Source/modules/geolocation/GeolocationController.cpp

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/GeolocationController.cpp
diff --git a/Source/modules/geolocation/GeolocationController.cpp b/Source/modules/geolocation/GeolocationController.cpp
index 78151301cb3b03726b92a9dda7c539d99cae668c..70d19b3f476b4784de77fd543f84ead898d5d33b 100644
--- a/Source/modules/geolocation/GeolocationController.cpp
+++ b/Source/modules/geolocation/GeolocationController.cpp
@@ -150,11 +150,11 @@ void GeolocationController::positionChanged(GeolocationPosition* position)
{
position = m_inspectorAgent->overrideGeolocationPosition(position);
if (!position) {
- errorOccurred(GeolocationError::create(GeolocationError::PositionUnavailable, "PositionUnavailable").get());
+ errorOccurred(GeolocationError::create(GeolocationError::PositionUnavailable, "PositionUnavailable"));
return;
}
m_lastPosition = position;
- WillBeHeapVector<RefPtrWillBeMember<Geolocation> > observersVector;
+ HeapVector<Member<Geolocation> > observersVector;
copyToVector(m_observers, observersVector);
for (size_t i = 0; i < observersVector.size(); ++i)
observersVector[i]->positionChanged();
@@ -162,7 +162,7 @@ void GeolocationController::positionChanged(GeolocationPosition* position)
void GeolocationController::errorOccurred(GeolocationError* error)
{
- WillBeHeapVector<RefPtrWillBeMember<Geolocation> > observersVector;
+ HeapVector<Member<Geolocation> > observersVector;
copyToVector(m_observers, observersVector);
for (size_t i = 0; i < observersVector.size(); ++i)
observersVector[i]->setError(error);

Powered by Google App Engine
This is Rietveld 408576698