Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Unified Diff: ppapi/cpp/private/pdf.cc

Issue 554893002: [WORK_IN_PROGRESS] PDF::Save() fix for out-of-process-pdf. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better fix for constrained windows Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/cpp/private/pdf.h ('k') | ppapi/proxy/pdf_resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/private/pdf.cc
diff --git a/ppapi/cpp/private/pdf.cc b/ppapi/cpp/private/pdf.cc
index ac5b941fad4f920394c3d8f476ec056d532804fc..a156379ebc22b8a8f86c195adb550702bda633fa 100644
--- a/ppapi/cpp/private/pdf.cc
+++ b/ppapi/cpp/private/pdf.cc
@@ -129,9 +129,9 @@ void PDF::HasUnsupportedFeature(const InstanceHandle& instance) {
}
// static
-void PDF::SaveAs(const InstanceHandle& instance) {
+void PDF::SaveAs(const InstanceHandle& instance, const Var& action) {
if (has_interface<PPB_PDF>())
- get_interface<PPB_PDF>()->SaveAs(instance.pp_instance());
+ get_interface<PPB_PDF>()->SaveAs(instance.pp_instance(), action.pp_var());
}
// static
« no previous file with comments | « ppapi/cpp/private/pdf.h ('k') | ppapi/proxy/pdf_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698