diff options
-rw-r--r-- | pdf/instance.cc | 2 | ||||
-rw-r--r-- | pdf/out_of_process_instance.cc | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/pdf/instance.cc b/pdf/instance.cc index a0feb56..a8a71e8 100644 --- a/pdf/instance.cc +++ b/pdf/instance.cc @@ -337,8 +337,6 @@ bool Instance::Init(uint32_t argc, const char* argn[], const char* argv[]) { pp::PDF::GetV8ExternalSnapshotData(this, &natives.data, &natives.raw_size, &snapshot.data, &snapshot.raw_size); if (natives.data) { - natives.compressed_size = natives.raw_size; - snapshot.compressed_size = snapshot.raw_size; v8::V8::SetNativesDataBlob(&natives); v8::V8::SetSnapshotDataBlob(&snapshot); } diff --git a/pdf/out_of_process_instance.cc b/pdf/out_of_process_instance.cc index 4854961..9dcf4d9 100644 --- a/pdf/out_of_process_instance.cc +++ b/pdf/out_of_process_instance.cc @@ -287,8 +287,6 @@ bool OutOfProcessInstance::Init(uint32_t argc, pp::PDF::GetV8ExternalSnapshotData(this, &natives.data, &natives.raw_size, &snapshot.data, &snapshot.raw_size); if (natives.data) { - natives.compressed_size = natives.raw_size; - snapshot.compressed_size = snapshot.raw_size; v8::V8::SetNativesDataBlob(&natives); v8::V8::SetSnapshotDataBlob(&snapshot); } |