summaryrefslogtreecommitdiff
path: root/testing/embedder_test_timer_handling_delegate.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-01-05 10:06:09 -0800
committerTom Sepez <tsepez@chromium.org>2016-01-05 10:06:09 -0800
commited34cdf99d5a4b33e57f81f9244a311f6fb86db3 (patch)
treeee5c9711c68cb3971ce058400a6f777324873e60 /testing/embedder_test_timer_handling_delegate.h
parent5dac8047f02c937a5a3546a8cc5b352db2188d97 (diff)
downloadpdfium-ed34cdf99d5a4b33e57f81f9244a311f6fb86db3.tar.xz
Make FPDF_WIDESTRING work regardless of endianness.
Given the helper routines, use it in the find bookmark test instead of just trusting another bookmarks title. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1554363002 .
Diffstat (limited to 'testing/embedder_test_timer_handling_delegate.h')
-rw-r--r--testing/embedder_test_timer_handling_delegate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/embedder_test_timer_handling_delegate.h b/testing/embedder_test_timer_handling_delegate.h
index 74e346e830..a704bd49df 100644
--- a/testing/embedder_test_timer_handling_delegate.h
+++ b/testing/embedder_test_timer_handling_delegate.h
@@ -21,8 +21,8 @@ class EmbedderTestTimerHandlingDelegate : public EmbedderTest::Delegate {
int type_in,
int icon_in)
: type(type_in), icon(icon_in) {
- message = GetWideString(message_in);
- title = GetWideString(title_in);
+ message = GetPlatformWString(message_in);
+ title = GetPlatformWString(title_in);
}
std::wstring message;