summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--samples/pdfium_test.cc4
-rw-r--r--testing/test_support.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc
index 5520fa4c26..86f6f89d24 100644
--- a/samples/pdfium_test.cc
+++ b/samples/pdfium_test.cc
@@ -755,8 +755,8 @@ FPDF_BOOL Is_Data_Avail(FX_FILEAVAIL* avail, size_t offset, size_t size) {
void Add_Segment(FX_DOWNLOADHINTS* hints, size_t offset, size_t size) {}
-void SendPageEvents(const FPDF_FORMHANDLE& form,
- const FPDF_PAGE& page,
+void SendPageEvents(FPDF_FORMHANDLE form,
+ FPDF_PAGE page,
const std::string& events) {
auto lines = StringSplit(events, '\n');
for (auto line : lines) {
diff --git a/testing/test_support.h b/testing/test_support.h
index a2d3528e73..7795be4214 100644
--- a/testing/test_support.h
+++ b/testing/test_support.h
@@ -70,7 +70,7 @@ std::vector<std::string> StringSplit(const std::string& str, char delimiter);
// Converts a FPDF_WIDESTRING to a std::wstring.
// Deals with differences between UTF16LE and wchar_t.
-std::wstring GetPlatformWString(const FPDF_WIDESTRING wstr);
+std::wstring GetPlatformWString(FPDF_WIDESTRING wstr);
// Returns a newly allocated FPDF_WIDESTRING.
// Deals with differences between UTF16LE and wchar_t.