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

Unified Diff: ppapi/cpp/private/pdf.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 | « ppapi/cpp/private/pdf.h ('k') | ppapi/ppapi_internal.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/private/pdf.cc
diff --git a/ppapi/cpp/private/pdf.cc b/ppapi/cpp/private/pdf.cc
index 52df60c710cafbf69baa4d5f2c68b0550cb61de0..17b0b4d2a712948535f0c813b9abf55430593562 100644
--- a/ppapi/cpp/private/pdf.cc
+++ b/ppapi/cpp/private/pdf.cc
@@ -198,13 +198,15 @@ void PDF::SetLinkUnderCursor(const InstanceHandle& instance, const char* url) {
}
// static
-void PDF::GetV8ExternalSnapshotData(const char** natives_data_out,
+void PDF::GetV8ExternalSnapshotData(const InstanceHandle& instance,
+ const char** natives_data_out,
int* natives_size_out,
const char** snapshot_data_out,
int* snapshot_size_out) {
if (has_interface<PPB_PDF>()) {
- get_interface<PPB_PDF>()->GetV8ExternalSnapshotData(natives_data_out,
- natives_size_out, snapshot_data_out, snapshot_size_out);
+ get_interface<PPB_PDF>()->GetV8ExternalSnapshotData(instance.pp_instance(),
+ natives_data_out, natives_size_out, snapshot_data_out,
+ snapshot_size_out);
return;
}
*natives_data_out = NULL;
« no previous file with comments | « ppapi/cpp/private/pdf.h ('k') | ppapi/ppapi_internal.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698