Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Unified Diff: pdf/out_of_process_instance.cc

Issue 740653004: Remove use of deprecated v8::StartupData::compressed_size. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pdf/instance.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/out_of_process_instance.cc
diff --git a/pdf/out_of_process_instance.cc b/pdf/out_of_process_instance.cc
index 48549611e83f6852207e884ce26db70c42b2360d..9dcf4d9aa33833643d0b9a219f3e4df1287013d2 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);
}
« no previous file with comments | « pdf/instance.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698