Chromium Code Reviews| 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..c4398e748224a96fe756dd5b58f3249d613a4028 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); |
|
raymes
2014/11/11 03:26:39
nit: 4 space indent
baixo1
2014/11/11 10:56:11
Done.
|
| +} |
| + |
| 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 |