From 2925efd2fcef1f8b9fd48979144877c1a5ec214b Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Tue, 17 Sep 2013 11:01:33 +0200 Subject: Remove C++11 requirement in WebKit2 Removes all use of C++11 specific features in WebKit2. This consists of template> syntax, a few uses of auto, and a single use of std::move. Change-Id: I1bbd356c430802caf5f7440cd0d3bb2ba49ed098 Reviewed-by: Allan Sandfeld Jensen --- Source/WebKit2/WebProcess/Geolocation/WebGeolocationManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/WebKit2/WebProcess/Geolocation/WebGeolocationManager.cpp') diff --git a/Source/WebKit2/WebProcess/Geolocation/WebGeolocationManager.cpp b/Source/WebKit2/WebProcess/Geolocation/WebGeolocationManager.cpp index aa42f5a6d..140e4c638 100644 --- a/Source/WebKit2/WebProcess/Geolocation/WebGeolocationManager.cpp +++ b/Source/WebKit2/WebProcess/Geolocation/WebGeolocationManager.cpp @@ -78,7 +78,7 @@ void WebGeolocationManager::didChangePosition(const WebGeolocationPosition::Data #if ENABLE(GEOLOCATION) RefPtr position = GeolocationPosition::create(data.timestamp, data.latitude, data.longitude, data.accuracy, data.canProvideAltitude, data.altitude, data.canProvideAltitudeAccuracy, data.altitudeAccuracy, data.canProvideHeading, data.heading, data.canProvideSpeed, data.speed); - Vector> webPageCopy; + Vector > webPageCopy; copyToVector(m_pageSet, webPageCopy); for (size_t i = 0; i < webPageCopy.size(); ++i) { WebPage* page = webPageCopy[i].get(); @@ -96,7 +96,7 @@ void WebGeolocationManager::didFailToDeterminePosition(const String& errorMessag // FIXME: Add localized error string. RefPtr error = GeolocationError::create(GeolocationError::PositionUnavailable, errorMessage); - Vector> webPageCopy; + Vector > webPageCopy; copyToVector(m_pageSet, webPageCopy); for (size_t i = 0; i < webPageCopy.size(); ++i) { WebPage* page = webPageCopy[i].get(); -- cgit v1.2.1