Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(484)

Unified Diff: third_party/WebKit/Source/core/fetch/Resource.cpp

Issue 2247073007: Make SharedBuffer in Resource non-discardable and remove PurgeableVector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SharedBuffer_DoNotUnlock
Patch Set: Rebase. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/PurgeableVector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/fetch/Resource.cpp
diff --git a/third_party/WebKit/Source/core/fetch/Resource.cpp b/third_party/WebKit/Source/core/fetch/Resource.cpp
index c582f1ee2d347ce4427ff2c2fd6ae31a6dc03b62..b0e3b16aa89730766ae54bdf752317c396e2a2cd 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.cpp
+++ b/third_party/WebKit/Source/core/fetch/Resource.cpp
@@ -360,7 +360,7 @@ void Resource::appendData(const char* data, size_t length)
if (m_data)
m_data->append(data, length);
else
- m_data = SharedBuffer::createPurgeable(data, length);
+ m_data = SharedBuffer::create(data, length);
setEncodedSize(m_data->size());
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/PurgeableVector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698