Chromium Code Reviews| Index: ppapi/proxy/pdf_resource.cc |
| diff --git a/ppapi/proxy/pdf_resource.cc b/ppapi/proxy/pdf_resource.cc |
| index 1398866e924e419b2a37cfd953024fddd6333d7b..4c37f1422203f1acb71fd4d2577f4678cbbbfdbf 100644 |
| --- a/ppapi/proxy/pdf_resource.cc |
| +++ b/ppapi/proxy/pdf_resource.cc |
| @@ -10,6 +10,7 @@ |
| #include "base/command_line.h" |
| #include "base/metrics/histogram.h" |
| #include "base/strings/utf_string_conversions.h" |
| +#include "gin/public/isolate_holder.h" |
| #include "ppapi/c/pp_errors.h" |
| #include "ppapi/c/private/ppb_pdf.h" |
| #include "ppapi/proxy/ppapi_messages.h" |
| @@ -204,5 +205,13 @@ void PDFResource::SetLinkUnderCursor(const char* url) { |
| Post(RENDERER, PpapiHostMsg_PDF_SetLinkUnderCursor(url)); |
| } |
| +void PDFResource::GetV8ExternalSnapshotData(const char** natives_data_out, |
| + int* natives_size_out, |
| + const char** snapshot_data_out, |
| + int* snapshot_size_out) { |
| + gin::IsolateHolder::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.
|
| +} |
| + |
| } // namespace proxy |
| } // namespace ppapi |