Index: ppapi/thunk/ppb_pdf_thunk.cc |
diff --git a/ppapi/thunk/ppb_pdf_thunk.cc b/ppapi/thunk/ppb_pdf_thunk.cc |
index fbf154a5dc5ccb78aa19266418b53c25c2ade63a..d291b0211ac169ccd2f79b01db28e138d0a035d4 100644 |
--- a/ppapi/thunk/ppb_pdf_thunk.cc |
+++ b/ppapi/thunk/ppb_pdf_thunk.cc |
@@ -160,24 +160,34 @@ void SetAccessibilityPageInfo( |
enter.functions()->SetAccessibilityPageInfo(page_info, text_runs, chars); |
} |
+void SetCrashData(PP_Instance instance, |
+ const char* pdf_url, |
+ const char* top_level_url) { |
+ EnterInstanceAPI<PPB_PDF_API> enter(instance); |
+ if (enter.failed()) |
+ return; |
+ enter.functions()->SetCrashData(pdf_url, top_level_url); |
+} |
+ |
const PPB_PDF g_ppb_pdf_thunk = { |
- &GetFontFileWithFallback, |
- &GetFontTableForPrivateFontFile, |
- &SearchString, |
- &DidStartLoading, |
- &DidStopLoading, |
- &SetContentRestriction, |
- &UserMetricsRecordAction, |
- &HasUnsupportedFeature, |
- &SaveAs, |
- &Print, |
- &IsFeatureEnabled, |
- &SetSelectedText, |
- &SetLinkUnderCursor, |
- &GetV8ExternalSnapshotData, |
- &SetAccessibilityViewportInfo, |
- &SetAccessibilityDocInfo, |
- &SetAccessibilityPageInfo |
+ &GetFontFileWithFallback, |
+ &GetFontTableForPrivateFontFile, |
+ &SearchString, |
+ &DidStartLoading, |
+ &DidStopLoading, |
+ &SetContentRestriction, |
+ &UserMetricsRecordAction, |
+ &HasUnsupportedFeature, |
+ &SaveAs, |
+ &Print, |
+ &IsFeatureEnabled, |
+ &SetSelectedText, |
+ &SetLinkUnderCursor, |
+ &GetV8ExternalSnapshotData, |
+ &SetAccessibilityViewportInfo, |
+ &SetAccessibilityDocInfo, |
+ &SetAccessibilityPageInfo, |
+ &SetCrashData, |
}; |
} // namespace |