summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2013-09-17 11:01:33 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-19 20:50:05 +0200
commit2925efd2fcef1f8b9fd48979144877c1a5ec214b (patch)
tree5e0720412202468499c2bd41d4ec8d5952618f8a /Source/WebKit2/UIProcess/WebDatabaseManagerProxy.cpp
parent4ff1d0e1e73e6467aeed9313afe09ec6ece4884d (diff)
downloadqtwebkit-2925efd2fcef1f8b9fd48979144877c1a5ec214b.tar.gz
Remove C++11 requirement in WebKit2
Removes all use of C++11 specific features in WebKit2. This consists of template<S<T>> syntax, a few uses of auto, and a single use of std::move. Change-Id: I1bbd356c430802caf5f7440cd0d3bb2ba49ed098 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Diffstat (limited to 'Source/WebKit2/UIProcess/WebDatabaseManagerProxy.cpp')
-rw-r--r--Source/WebKit2/UIProcess/WebDatabaseManagerProxy.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.cpp b/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.cpp
index 959cb5f24..c4febdc26 100644
--- a/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.cpp
+++ b/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.cpp
@@ -157,7 +157,7 @@ void WebDatabaseManagerProxy::didGetDatabasesByOrigin(const Vector<OriginAndData
}
size_t originAndDatabasesCount = originAndDatabasesVector.size();
- Vector<RefPtr<APIObject>> result(originAndDatabasesCount);
+ Vector<RefPtr<APIObject> > result(originAndDatabasesCount);
for (size_t i = 0; i < originAndDatabasesCount; ++i) {
const OriginAndDatabases& originAndDatabases = originAndDatabasesVector[i];
@@ -165,11 +165,11 @@ void WebDatabaseManagerProxy::didGetDatabasesByOrigin(const Vector<OriginAndData
RefPtr<APIObject> origin = WebSecurityOrigin::createFromDatabaseIdentifier(originAndDatabases.originIdentifier);
size_t databasesCount = originAndDatabases.databases.size();
- Vector<RefPtr<APIObject>> databases(databasesCount);
+ Vector<RefPtr<APIObject> > databases(databasesCount);
for (size_t j = 0; j < databasesCount; ++j) {
const DatabaseDetails& details = originAndDatabases.databases[i];
- HashMap<String, RefPtr<APIObject>> detailsMap;
+ HashMap<String, RefPtr<APIObject> > detailsMap;
detailsMap.set(databaseDetailsNameKey(), WebString::create(details.name()));
detailsMap.set(databaseDetailsDisplayNameKey(), WebString::create(details.displayName()));
@@ -178,7 +178,7 @@ void WebDatabaseManagerProxy::didGetDatabasesByOrigin(const Vector<OriginAndData
databases.append(ImmutableDictionary::adopt(detailsMap));
}
- HashMap<String, RefPtr<APIObject>> originAndDatabasesMap;
+ HashMap<String, RefPtr<APIObject> > originAndDatabasesMap;
originAndDatabasesMap.set(originKey(), origin);
originAndDatabasesMap.set(originQuotaKey(), WebUInt64::create(originAndDatabases.originQuota));
originAndDatabasesMap.set(originUsageKey(), WebUInt64::create(originAndDatabases.originUsage));
@@ -209,7 +209,7 @@ void WebDatabaseManagerProxy::didGetDatabaseOrigins(const Vector<String>& origin
}
size_t originIdentifiersCount = originIdentifiers.size();
- Vector<RefPtr<APIObject>> securityOrigins(originIdentifiersCount);
+ Vector<RefPtr<APIObject> > securityOrigins(originIdentifiersCount);
for (size_t i = 0; i < originIdentifiersCount; ++i)
securityOrigins[i] = WebSecurityOrigin::createFromDatabaseIdentifier(originIdentifiers[i]);