Skip to content
Snippets Groups Projects
Commit ba4eca38 authored by Kathleen Brade's avatar Kathleen Brade
Browse files

Revert "Bug #9701: Prevent ClipBoardCache from writing to disk."

This reverts commit ba34a65a.
An improved fix is forthcoming.
parent b491f6d4
No related merge requests found
......@@ -58,7 +58,6 @@ DataStruct::~DataStruct()
void
DataStruct::SetData ( nsISupports* aData, uint32_t aDataLen )
{
#if 0 // Remove unnecessary disk caching to accommodate https://www.torproject.org/projects/torbrowser/design/#disk-avoidance
// Now, check to see if we consider the data to be "too large"
if (aDataLen > kLargeDatasetSize) {
// if so, cache it to disk instead of memory
......@@ -67,7 +66,6 @@ DataStruct::SetData ( nsISupports* aData, uint32_t aDataLen )
else
NS_WARNING("Oh no, couldn't write data to the cache file");
}
#endif // #if 0
mData = aData;
mDataLen = aDataLen;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment