Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
widget/xpwidgets/nsTransferable.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/widget/xpwidgets/nsTransferable.cpp Wed Dec 31 06:55:50 2014 +0100 1.2 +++ b/widget/xpwidgets/nsTransferable.cpp Wed Dec 31 07:16:47 2014 +0100 1.3 @@ -58,7 +58,6 @@ 1.4 void 1.5 DataStruct::SetData ( nsISupports* aData, uint32_t aDataLen ) 1.6 { 1.7 -#if 0 // Remove unnecessary disk caching to accommodate https://www.torproject.org/projects/torbrowser/design/#disk-avoidance 1.8 // Now, check to see if we consider the data to be "too large" 1.9 if (aDataLen > kLargeDatasetSize) { 1.10 // if so, cache it to disk instead of memory 1.11 @@ -67,7 +66,6 @@ 1.12 else 1.13 NS_WARNING("Oh no, couldn't write data to the cache file"); 1.14 } 1.15 -#endif // #if 0 1.16 1.17 mData = aData; 1.18 mDataLen = aDataLen;