X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fmodules%2Fgeolocation%2FGeolocationController.cpp;h=79a2263eb1c9145dd5e9de1d917423f58f0f80d6;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=4349ba19835274a5efc7acc7a722181927d36423;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/modules/geolocation/GeolocationController.cpp b/src/third_party/WebKit/Source/modules/geolocation/GeolocationController.cpp index 4349ba1..79a2263 100644 --- a/src/third_party/WebKit/Source/modules/geolocation/GeolocationController.cpp +++ b/src/third_party/WebKit/Source/modules/geolocation/GeolocationController.cpp @@ -129,7 +129,7 @@ void GeolocationController::positionChanged(GeolocationPosition* position) return; } m_lastPosition = position; - Vector > observersVector; + WillBeHeapVector > observersVector; copyToVector(m_observers, observersVector); for (size_t i = 0; i < observersVector.size(); ++i) observersVector[i]->positionChanged(); @@ -137,7 +137,7 @@ void GeolocationController::positionChanged(GeolocationPosition* position) void GeolocationController::errorOccurred(GeolocationError* error) { - Vector > observersVector; + WillBeHeapVector > observersVector; copyToVector(m_observers, observersVector); for (size_t i = 0; i < observersVector.size(); ++i) observersVector[i]->setError(error);