summaryrefslogtreecommitdiffstats
path: root/pdf
diff options
context:
space:
mode:
authoryangguo <yangguo@chromium.org>2014-11-21 09:48:23 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-21 17:49:28 +0000
commit78e112fa382aa11e1542f736195035e0421682ef (patch)
tree7fb4dbef9704ffba2ea8fdc01edda86b3b9e258e /pdf
parentf84799490fb302ca06dce0921128cdd6b8936da3 (diff)
downloadchromium_src-78e112fa382aa11e1542f736195035e0421682ef.zip
chromium_src-78e112fa382aa11e1542f736195035e0421682ef.tar.gz
chromium_src-78e112fa382aa11e1542f736195035e0421682ef.tar.bz2
Remove use of deprecated v8::StartupData::compressed_size.
Compressed startup data is not being used anyways, and is being removed from V8. Review URL: https://codereview.chromium.org/740653004 Cr-Commit-Position: refs/heads/master@{#305237}
Diffstat (limited to 'pdf')
-rw-r--r--pdf/instance.cc2
-rw-r--r--pdf/out_of_process_instance.cc2
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);
}