[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.15.1-1414-gc69ee75
kenneth at webkit.org
kenneth at webkit.org
Thu Oct 29 20:36:23 UTC 2009
The following commit has been merged in the webkit-1.1 branch:
commit 64ef3e7f8d24c49b576a819ab07cd6959bfdfb96
Author: kenneth at webkit.org <kenneth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Sep 29 21:07:26 2009 +0000
Use const references when using Qt's foreach.
Patch by Kenneth Rohde Christiansen <kenneth at webkit.org> on 2009-09-29
Reviewed by Simon Hausmann.
* platform/network/qt/QNetworkReplyHandler.cpp:
(WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48901 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index ce5f167..46b36c0 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -269,6 +269,15 @@
Reviewed by Simon Hausmann.
+ Use const references when using Qt's foreach.
+
+ * platform/network/qt/QNetworkReplyHandler.cpp:
+ (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
+
+2009-09-29 Kenneth Rohde Christiansen <kenneth at webkit.org>
+
+ Reviewed by Simon Hausmann.
+
Fix handling of QNetworkReply errors.
In the QNetworkReplyHandler::finish() a response was sent even when
diff --git a/WebCore/platform/network/qt/QNetworkReplyHandler.cpp b/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
index a80ca2b..18898af 100644
--- a/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
+++ b/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
@@ -309,8 +309,7 @@ void QNetworkReplyHandler::sendResponseIfNeeded()
* For local file requests remove the content length and the last-modified
* headers as required by fast/dom/xmlhttprequest-get.xhtml
*/
- foreach (QByteArray headerName, m_reply->rawHeaderList()) {
-
+ foreach (const QByteArray& headerName, m_reply->rawHeaderList()) {
if (isLocalFileReply
&& (headerName == "Content-Length" || headerName == "Last-Modified"))
continue;
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list