Integrate suggestion from review to improve consistency with existing code. TOR_BUG_9701

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
parent 13
44a2da4a2ab2
child 15
b8a032363ba2

Integrate suggestion from review to improve consistency with existing code.

widget/xpwidgets/nsTransferable.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/widget/xpwidgets/nsTransferable.cpp	Fri Jan 16 04:50:19 2015 +0100
     1.2 +++ b/widget/xpwidgets/nsTransferable.cpp	Fri Jan 16 18:13:44 2015 +0100
     1.3 @@ -60,7 +60,7 @@
     1.4  {
     1.5    // Now, check to see if we consider the data to be "too large"
     1.6    // as well as ensuring that private browsing mode is disabled
     1.7 -  if (aDataLen > kLargeDatasetSize && aIsPrivBrowsing == false) {
     1.8 +  if (aDataLen > kLargeDatasetSize && !aIsPrivBrowsing) {
     1.9      // if so, cache it to disk instead of memory
    1.10      if ( NS_SUCCEEDED(WriteCache(aData, aDataLen)) )
    1.11        return;

mercurial