summaryrefslogtreecommitdiff
path: root/testing/test_support.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-06-16 19:08:02 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-06-19 14:56:48 +0000
commit54d91ecc4cedd07da6ff599285ac12168c146129 (patch)
tree8dfa676776d3e262facaa63b09c47604f059fe2a /testing/test_support.h
parent7ca47d55c9cbbec7e0a0b0beffffe348ae655086 (diff)
downloadpdfium-54d91ecc4cedd07da6ff599285ac12168c146129.tar.xz
Consistently pass FPDF handles by value.
Change-Id: I1b31217c756620873f59527768464aec02a82900 Reviewed-on: https://pdfium-review.googlesource.com/6677 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'testing/test_support.h')
-rw-r--r--testing/test_support.h2
1 files changed, 1 insertions, 1 deletions
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.