summaryrefslogtreecommitdiffstats
path: root/Source/WebKit2/WebProcess/Storage/StorageAreaMap.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/WebProcess/Storage/StorageAreaMap.cpp
parent4ff1d0e1e73e6467aeed9313afe09ec6ece4884d (diff)
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/Storage/StorageAreaMap.cpp')
-rw-r--r--Source/WebKit2/WebProcess/Storage/StorageAreaMap.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebKit2/WebProcess/Storage/StorageAreaMap.cpp b/Source/WebKit2/WebProcess/Storage/StorageAreaMap.cpp
index 4a8582db7..dd8f14ac7 100644
--- a/Source/WebKit2/WebProcess/Storage/StorageAreaMap.cpp
+++ b/Source/WebKit2/WebProcess/Storage/StorageAreaMap.cpp
@@ -251,7 +251,7 @@ void StorageAreaMap::applyChange(const String& key, const String& newValue)
RefPtr<StorageMap> newStorageMap = StorageMap::create(m_quotaInBytes);
// Any changes that were made locally after the clear must still be kept around in the new map.
- for (auto it = m_pendingValueChanges.begin().keys(), end = m_pendingValueChanges.end().keys(); it != end; ++it) {
+ for (HashCountedSet<String>::iterator::Keys it = m_pendingValueChanges.begin().keys(), end = m_pendingValueChanges.end().keys(); it != end; ++it) {
const String& key = *it;
String value = m_storageMap->getItem(key);
@@ -309,7 +309,7 @@ void StorageAreaMap::dispatchSessionStorageEvent(uint64_t sourceStorageAreaID, c
if (!webPage)
return;
- Vector<RefPtr<Frame>> frames;
+ Vector<RefPtr<Frame> > frames;
Page* page = webPage->corePage();
for (Frame* frame = page->mainFrame(); frame; frame = frame->tree()->traverseNext()) {
@@ -337,7 +337,7 @@ void StorageAreaMap::dispatchLocalStorageEvent(uint64_t sourceStorageAreaID, con
{
ASSERT(storageType() == LocalStorage);
- Vector<RefPtr<Frame>> frames;
+ Vector<RefPtr<Frame> > frames;
PageGroup& pageGroup = *WebProcess::shared().webPageGroup(m_storageNamespaceID)->corePageGroup();
const HashSet<Page*>& pages = pageGroup.pages();