diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2013-09-17 11:01:33 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-19 20:50:05 +0200 |
commit | 2925efd2fcef1f8b9fd48979144877c1a5ec214b (patch) | |
tree | 5e0720412202468499c2bd41d4ec8d5952618f8a /Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp | |
parent | 4ff1d0e1e73e6467aeed9313afe09ec6ece4884d (diff) | |
download | qtwebkit-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/WebProcess/InjectedBundle/InjectedBundle.cpp')
-rw-r--r-- | Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp b/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp index ef4a82f6e..e2d957b93 100644 --- a/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp +++ b/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp @@ -420,12 +420,12 @@ void InjectedBundle::resetApplicationCacheOriginQuota(const String& originString PassRefPtr<ImmutableArray> InjectedBundle::originsWithApplicationCache() { - HashSet<RefPtr<SecurityOrigin>> origins; + HashSet<RefPtr<SecurityOrigin> > origins; cacheStorage().getOriginsWithCache(origins); - Vector< RefPtr<APIObject>> originsVector; + Vector< RefPtr<APIObject> > originsVector; - HashSet<RefPtr<SecurityOrigin>>::iterator it = origins.begin(); - HashSet<RefPtr<SecurityOrigin>>::iterator end = origins.end(); + HashSet<RefPtr<SecurityOrigin> >::iterator it = origins.begin(); + HashSet<RefPtr<SecurityOrigin> >::iterator end = origins.end(); for ( ; it != end; ++it) originsVector.append(WebString::create((*it)->databaseIdentifier())); |