summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfedit_embeddertest.cpp
diff options
context:
space:
mode:
authorJane Liu <janeliulwq@google.com>2017-06-20 16:47:41 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-06-20 21:04:49 +0000
commite10509a3d2a1641984845d579963d574305ea6cc (patch)
tree4a18e88dfd833279e2bd22590f16a317f4c6e812 /fpdfsdk/fpdfedit_embeddertest.cpp
parentd5a13afe9265463a497db40d8c66a8a736a86bc2 (diff)
downloadpdfium-e10509a3d2a1641984845d579963d574305ea6cc.tar.xz
Wrapper class for annotation dictionary + CPDF_Formchromium/3137
Simple wrapper class for annotation + its path parsing form object. This will be used in APIs for extracting and setting annotation paths. Bug=pdfium:737 Change-Id: I2e8131672d087613213735295c6d01e377b956e7 Reviewed-on: https://pdfium-review.googlesource.com/6730 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfedit_embeddertest.cpp')
-rw-r--r--fpdfsdk/fpdfedit_embeddertest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/fpdfsdk/fpdfedit_embeddertest.cpp b/fpdfsdk/fpdfedit_embeddertest.cpp
index f7bade9155..fcf7e3903b 100644
--- a/fpdfsdk/fpdfedit_embeddertest.cpp
+++ b/fpdfsdk/fpdfedit_embeddertest.cpp
@@ -900,8 +900,7 @@ TEST_F(FPDFEditEmbeddertest, TransformAnnot) {
ASSERT_TRUE(page);
// Add an underline annotation to the page without specifying its rectangle.
- FPDF_ANNOTATION annot;
- ASSERT_TRUE(FPDFPage_CreateAnnot(page, FPDF_ANNOT_UNDERLINE, &annot));
+ ASSERT_TRUE(FPDFPage_CreateAnnot(page, FPDF_ANNOT_UNDERLINE, nullptr));
// FPDFPage_TransformAnnots() should run without errors when modifying
// annotation rectangles.