widget/xpwidgets/nsTransferable.cpp

branch
TOR_BUG_9701
changeset 3
141e0f1194b1
parent 0
6474c204b198
child 8
97036ab72558
     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;  

mercurial