summaryrefslogtreecommitdiff
path: root/widget
diff options
context:
space:
mode:
authorSandra <sandra_oth@ua.fm>2023-04-12 07:12:24 +0300
committerSandra <sandra_oth@ua.fm>2023-04-12 07:12:24 +0300
commit9f22c3a7b9b580c45dc2880a6c7bd315440f1ad4 (patch)
tree121a791a55d2d9f6531b3e6619ed7c529cf581de /widget
parent558c26bbbfb96b98ee4ae8ad977f11a050c3aacb (diff)
downloaduxp-9f22c3a7b9b580c45dc2880a6c7bd315440f1ad4.tar.gz
Increase size of data over which we write the data to disk rather than keep it around in memory
Diffstat (limited to 'widget')
-rw-r--r--widget/nsTransferable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/nsTransferable.h b/widget/nsTransferable.h
index 1be0fec3fd..bea3b26eb8 100644
--- a/widget/nsTransferable.h
+++ b/widget/nsTransferable.h
@@ -37,7 +37,7 @@ protected:
enum {
// The size of data over which we write the data to disk rather than
// keep it around in memory.
- kLargeDatasetSize = 1000000 // 1 million bytes
+ kLargeDatasetSize = 4194303 // 4 mega bytes
};
nsresult WriteCache(nsISupports* aData, uint32_t aDataLen );