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

Unified Diff: pdf/instance.cc

Issue 718453003: Initialize V8 in PDFium from external files (plugin process only) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix API 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 | « components/pdf/renderer/ppb_pdf_impl.cc ('k') | 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 2ffc7d47f4edf274b10cbeb00a5475aa9155cd2c..fb8484fdbe748f39930ecdd6255f856dd423a927 100644
--- a/pdf/instance.cc
+++ b/pdf/instance.cc
@@ -322,7 +322,7 @@ Instance::~Instance() {
bool Instance::Init(uint32_t argc, const char* argn[], const char* argv[]) {
v8::StartupData natives;
v8::StartupData snapshot;
- pp::PDF::GetV8ExternalSnapshotData(&natives.data, &natives.raw_size,
+ pp::PDF::GetV8ExternalSnapshotData(this, &natives.data, &natives.raw_size,
&snapshot.data, &snapshot.raw_size);
if (natives.data) {
natives.compressed_size = natives.raw_size;
« no previous file with comments | « components/pdf/renderer/ppb_pdf_impl.cc ('k') | pdf/out_of_process_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698