diff options
author | Oliver Chang <ochang@chromium.org> | 2015-12-08 16:12:25 -0800 |
---|---|---|
committer | Oliver Chang <ochang@chromium.org> | 2015-12-08 16:12:25 -0800 |
commit | 8e7ed1a7759eb067063e3a52cf9efa80b8fc629b (patch) | |
tree | 3d066dbde09abec7b982258a2a3d42279811487e /fpdfsdk/src/fpdfdoc_embeddertest.cpp | |
parent | b3ea5b41a3f472fe2b3ecf68129382b51ede6c3a (diff) | |
download | pdfium-8e7ed1a7759eb067063e3a52cf9efa80b8fc629b.tar.xz |
Revert "Merge to master: Take Jun's UTF16LE patches."chromium/2587chromium/2586
Broke chrome bindings.
This reverts commit c3e4ae5fe5067723b58a2029a95c6411c92bed15.
R=thestig@chromium.org, tsepez@chromium.org
BUG=567485
Review URL: https://codereview.chromium.org/1511773002 .
Diffstat (limited to 'fpdfsdk/src/fpdfdoc_embeddertest.cpp')
-rw-r--r-- | fpdfsdk/src/fpdfdoc_embeddertest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/src/fpdfdoc_embeddertest.cpp b/fpdfsdk/src/fpdfdoc_embeddertest.cpp index 221e4da1e8..6435704cb2 100644 --- a/fpdfsdk/src/fpdfdoc_embeddertest.cpp +++ b/fpdfsdk/src/fpdfdoc_embeddertest.cpp @@ -85,7 +85,7 @@ TEST_F(FPDFDocEmbeddertest, Bookmarks) { FPDF_BOOKMARK child = FPDFBookmark_GetFirstChild(document(), nullptr); EXPECT_NE(nullptr, child); - EXPECT_EQ(32, FPDFBookmark_GetTitle(child, buf, sizeof(buf))); + EXPECT_EQ(34, FPDFBookmark_GetTitle(child, buf, sizeof(buf))); EXPECT_EQ(CFX_WideString(L"A Good Beginning"), CFX_WideString::FromUTF16LE(buf, 16)); @@ -93,7 +93,7 @@ TEST_F(FPDFDocEmbeddertest, Bookmarks) { FPDF_BOOKMARK sibling = FPDFBookmark_GetNextSibling(document(), child); EXPECT_NE(nullptr, sibling); - EXPECT_EQ(26, FPDFBookmark_GetTitle(sibling, buf, sizeof(buf))); + EXPECT_EQ(28, FPDFBookmark_GetTitle(sibling, buf, sizeof(buf))); EXPECT_EQ(CFX_WideString(L"A Good Ending"), CFX_WideString::FromUTF16LE(buf, 13)); |