Split aData into smaller chunks to avoid going over the IPC message size limit (1335989).

This commit is contained in:
Fedor 2021-07-30 17:05:04 +03:00 • committed by roytam1
commit e84c7ab0c3
6 changed files with 32 additions and 4 deletions

View file

@ -45,7 +45,7 @@ protected:
const uint32_t& loadFlags,
const IPC::SerializedLoadContext& loadContext,
const PBrowserOrId &parent) override;
virtual bool RecvWriteToCacheEntry(const nsString& data) override;
virtual bool RecvWriteToCacheEntry(const nsDependentSubstring& data) override;
virtual bool RecvCloseCacheEntry(const nsresult& reason) override;
virtual bool RecvSetCharsetAndSource(const int32_t& source,
const nsCString& charset) override;