Changeset 91944 in webkit
- Timestamp:
- Jul 28, 2011, 12:45:36 PM (14 years ago)
- Location:
- branches/chromium/835/Source/WebKit/chromium
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/chromium/835/Source/WebKit/chromium/ChangeLog
r91868 r91944 1 2011-07-26 Brett Wilson <brettw@chromium.org> 2 3 Cancel the load when an associated URL loader goes out of scope. 4 Previously, the load would continue even when the WebURLLoader object 5 was deleted, and the data would just get queued up. 6 7 https://bugs.webkit.org/show_bug.cgi?id=65204 8 9 Reviewed by Darin Fisher. 10 11 * src/AssociatedURLLoader.cpp: 12 (WebKit::AssociatedURLLoader::~AssociatedURLLoader): 13 (WebKit::AssociatedURLLoader::cancel): 14 1 15 2011-07-27 Sadrul Habib Chowdhury <sadrul@chromium.org> 2 16 -
branches/chromium/835/Source/WebKit/chromium/src/AssociatedURLLoader.cpp
r89089 r91944 216 216 AssociatedURLLoader::~AssociatedURLLoader() 217 217 { 218 if (m_clientAdapter) 219 m_clientAdapter->clearClient(); 218 cancel(); 220 219 } 221 220 … … 256 255 void AssociatedURLLoader::cancel() 257 256 { 258 if (m_ loader) {257 if (m_clientAdapter) 259 258 m_clientAdapter->clearClient(); 259 if (m_loader) 260 260 m_loader->cancel(); 261 }262 261 } 263 262
Note:
See TracChangeset
for help on using the changeset viewer.