| Index: ppapi/thunk/ppb_pdf_thunk.cc
|
| diff --git a/ppapi/thunk/ppb_pdf_thunk.cc b/ppapi/thunk/ppb_pdf_thunk.cc
|
| index a8aa0806b17be012637640ca30eb0af095b3a202..fb06a90fe2b72b2c74a611155b2d7f7549d94a41 100644
|
| --- a/ppapi/thunk/ppb_pdf_thunk.cc
|
| +++ b/ppapi/thunk/ppb_pdf_thunk.cc
|
| @@ -161,6 +161,18 @@ void SetLinkUnderCursor(PP_Instance instance, const char* url) {
|
| enter.functions()->SetLinkUnderCursor(url);
|
| }
|
|
|
| +void GetV8ExternalSnapshotData(PP_Instance instance,
|
| + const char** natives_data_out,
|
| + int* natives_size_out,
|
| + const char** snapshot_data_out,
|
| + int* snapshot_size_out) {
|
| + EnterInstanceAPI<PPB_PDF_API> enter(instance);
|
| + if (enter.failed())
|
| + return;
|
| + enter.functions()->GetV8ExternalSnapshotData(natives_data_out,
|
| + natives_size_out, snapshot_data_out, snapshot_size_out);
|
| +}
|
| +
|
| const PPB_PDF g_ppb_pdf_thunk = {
|
| &GetLocalizedString,
|
| &GetResourceImage,
|
| @@ -181,6 +193,7 @@ const PPB_PDF g_ppb_pdf_thunk = {
|
| &IsOutOfProcess,
|
| &SetSelectedText,
|
| &SetLinkUnderCursor,
|
| + &GetV8ExternalSnapshotData,
|
| };
|
|
|
| } // namespace
|
|
|