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

Unified Diff: pdf/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 | « no previous file | pdf/out_of_process_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/instance.cc
diff --git a/pdf/instance.cc b/pdf/instance.cc
index a0feb5666545129bce5aa599f1721bd5abe4be36..a8a71e8a89889b80274e4055c8dac427e9013520 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);
}
« no previous file with comments | « no previous file | pdf/out_of_process_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698