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/UIProcess/WebContext.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/UIProcess/WebContext.cpp')
-rw-r--r-- | Source/WebKit2/UIProcess/WebContext.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebKit2/UIProcess/WebContext.cpp b/Source/WebKit2/UIProcess/WebContext.cpp index e1ef1021d..aee99940a 100644 --- a/Source/WebKit2/UIProcess/WebContext.cpp +++ b/Source/WebKit2/UIProcess/WebContext.cpp @@ -557,7 +557,7 @@ WebProcessProxy* WebContext::createNewWebProcess() if (m_processModel == ProcessModelSharedSecondaryProcess) { for (size_t i = 0; i != m_messagesToInjectedBundlePostedToEmptyContext.size(); ++i) { - pair<String, RefPtr<APIObject>>& message = m_messagesToInjectedBundlePostedToEmptyContext[i]; + pair<String, RefPtr<APIObject> >& message = m_messagesToInjectedBundlePostedToEmptyContext[i]; OwnPtr<CoreIPC::ArgumentEncoder> messageData = CoreIPC::ArgumentEncoder::create(); @@ -589,7 +589,7 @@ void WebContext::warmInitialProcess() void WebContext::enableProcessTermination() { m_processTerminationEnabled = true; - Vector<RefPtr<WebProcessProxy>> processes = m_processes; + Vector<RefPtr<WebProcessProxy> > processes = m_processes; for (size_t i = 0; i < processes.size(); ++i) { if (shouldTerminate(processes[i].get())) processes[i]->terminate(); @@ -1226,7 +1226,7 @@ void WebContext::pluginInfoStoreDidLoadPlugins(PluginInfoStore* store) #endif ASSERT(store == &m_pluginInfoStore); - Vector<RefPtr<APIObject>> pluginArray; + Vector<RefPtr<APIObject> > pluginArray; Vector<PluginModuleInfo> plugins = m_pluginInfoStore.plugins(); for (size_t i = 0; i < plugins.size(); ++i) { @@ -1236,7 +1236,7 @@ void WebContext::pluginInfoStoreDidLoadPlugins(PluginInfoStore* store) map.set(ASCIILiteral("name"), WebString::create(plugin.info.name)); map.set(ASCIILiteral("file"), WebString::create(plugin.info.file)); map.set(ASCIILiteral("desc"), WebString::create(plugin.info.desc)); - Vector<RefPtr<APIObject>> mimeArray; + Vector<RefPtr<APIObject> > mimeArray; for (size_t j = 0; j < plugin.info.mimes.size(); ++j) mimeArray.append(WebString::create(plugin.info.mimes[j].type)); map.set(ASCIILiteral("mimes"), ImmutableArray::adopt(mimeArray)); |