Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
widget/xpwidgets/nsTransferable.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/widget/xpwidgets/nsTransferable.cpp Tue Jan 06 21:39:09 2015 +0100 1.2 +++ b/widget/xpwidgets/nsTransferable.cpp Thu Jan 15 15:55:04 2015 +0100 1.3 @@ -14,7 +14,6 @@ 1.4 1.5 1.6 #include "nsTransferable.h" 1.7 -#include "mozilla/Preferences.h" 1.8 #include "nsString.h" 1.9 #include "nsReadableUtils.h" 1.10 #include "nsTArray.h" 1.11 @@ -59,11 +58,8 @@ 1.12 void 1.13 DataStruct::SetData ( nsISupports* aData, uint32_t aDataLen ) 1.14 { 1.15 - // First, prepare for conditional caching according to isolation mode 1.16 - int32_t isolationState = mozilla::Preferences::GetInt("privacy.thirdparty.isolate"); 1.17 - 1.18 // Now, check to see if we consider the data to be "too large" 1.19 - if (aDataLen > kLargeDatasetSize && isolationState == 0) { 1.20 + if (aDataLen > kLargeDatasetSize) { 1.21 // if so, cache it to disk instead of memory 1.22 if ( NS_SUCCEEDED(WriteCache(aData, aDataLen)) ) 1.23 return;