Changeset 49789 in webkit
- Timestamp:
- Oct 19, 2009 9:26:02 AM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r49788 r49789 1 2009-10-19 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> 2 3 Reviewed by Adam Barth. 4 5 [Qt] Remove deletion of outgoing FormData object when reply is finished. 6 The buffers will be destroyed a bit later, when the QNetworkReply is deleted. 7 Bug: https://bugs.webkit.org/show_bug.cgi?id=29551 8 9 * platform/network/qt/QNetworkReplyHandler.cpp: 10 * platform/network/qt/QNetworkReplyHandler.h: 11 1 12 2009-10-19 Dimitri Glazkov <dglazkov@chromium.org> 2 13 -
trunk/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
r49100 r49789 113 113 } 114 114 115 void FormDataIODevice::setParent(QNetworkReply* reply)116 {117 QIODevice::setParent(reply);118 119 connect(reply, SIGNAL(finished()), SLOT(slotFinished()), Qt::QueuedConnection);120 }121 122 115 bool FormDataIODevice::isSequential() const 123 116 { 124 117 return true; 125 }126 127 void FormDataIODevice::slotFinished()128 {129 deleteLater();130 118 } 131 119 -
trunk/WebCore/platform/network/qt/QNetworkReplyHandler.h
r48028 r49789 97 97 ~FormDataIODevice(); 98 98 99 void setParent(QNetworkReply*);100 99 bool isSequential() const; 101 100 … … 103 102 qint64 readData(char*, qint64); 104 103 qint64 writeData(const char*, qint64); 105 106 private Q_SLOTS:107 void slotFinished();108 104 109 105 private:
Note: See TracChangeset
for help on using the changeset viewer.