Changeset 138211 in webkit
- Timestamp:
- Dec 19, 2012 5:43:15 PM (11 years ago)
- Location:
- branches/chromium/1364/Source/WebCore/loader
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/chromium/1364/Source/WebCore/loader/ResourceLoader.cpp
r137631 r138211 195 195 196 196 // Reset any already buffered data 197 if ( !shouldBufferData)197 if (shouldBufferData == DoNotBufferData) 198 198 m_resourceData = 0; 199 199 } -
branches/chromium/1364/Source/WebCore/loader/cache/CachedRawResource.cpp
r137607 r138211 57 57 incrementalDataLength = data->size() - previousDataLength; 58 58 } 59 59 60 60 if (m_options.shouldBufferData == BufferData) { 61 61 if (data) … … 63 63 m_data = data; 64 64 } 65 65 66 DataBufferingPolicy dataBufferingPolicy = m_options.shouldBufferData; 66 67 if (incrementalDataLength) { 67 68 CachedResourceClientWalker<CachedRawResourceClient> w(m_clients); … … 70 71 } 71 72 CachedResource::data(m_data, allDataReceived); 73 74 if (dataBufferingPolicy == BufferData && m_options.shouldBufferData == DoNotBufferData) { 75 if (m_loader) 76 m_loader->setShouldBufferData(DoNotBufferData); 77 clear(); 78 } 72 79 } 73 80
Note: See TracChangeset
for help on using the changeset viewer.