Index: ppapi/cpp/private/pdf.cc |
diff --git a/ppapi/cpp/private/pdf.cc b/ppapi/cpp/private/pdf.cc |
index ac5b941fad4f920394c3d8f476ec056d532804fc..52df60c710cafbf69baa4d5f2c68b0550cb61de0 100644 |
--- a/ppapi/cpp/private/pdf.cc |
+++ b/ppapi/cpp/private/pdf.cc |
@@ -197,4 +197,20 @@ void PDF::SetLinkUnderCursor(const InstanceHandle& instance, const char* url) { |
get_interface<PPB_PDF>()->SetLinkUnderCursor(instance.pp_instance(), url); |
} |
+// static |
+void PDF::GetV8ExternalSnapshotData(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); |
+ return; |
+ } |
+ *natives_data_out = NULL; |
+ *snapshot_data_out = NULL; |
+ *natives_size_out = 0; |
+ *snapshot_size_out = 0; |
+} |
+ |
} // namespace pp |