From b7c4a0243e82f6c4ff91cd90b5bae336100c3c70 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 26 Oct 2018 23:56:27 +0000 Subject: Pass CreateParams to CPWL_Wnd constructor. The previous reshuffling means we always have the create params earlier, so pass them in at create time. Clean up two forward declarations that were not needed as noticed in the process. Change-Id: I5d3861f3c1e3508e0d25950e919859244fac5f8b Reviewed-on: https://pdfium-review.googlesource.com/c/44710 Reviewed-by: Tom Sepez Reviewed-by: Lei Zhang Commit-Queue: Tom Sepez --- fpdfsdk/pwl/cpwl_caret.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fpdfsdk/pwl/cpwl_caret.cpp') diff --git a/fpdfsdk/pwl/cpwl_caret.cpp b/fpdfsdk/pwl/cpwl_caret.cpp index 63fb1ce2b5..4dfda8aecf 100644 --- a/fpdfsdk/pwl/cpwl_caret.cpp +++ b/fpdfsdk/pwl/cpwl_caret.cpp @@ -16,8 +16,9 @@ #define PWL_CARET_FLASHINTERVAL 500 -CPWL_Caret::CPWL_Caret(std::unique_ptr pAttachedData) - : CPWL_Wnd(std::move(pAttachedData)) {} +CPWL_Caret::CPWL_Caret(const CreateParams& cp, + std::unique_ptr pAttachedData) + : CPWL_Wnd(cp, std::move(pAttachedData)) {} CPWL_Caret::~CPWL_Caret() = default; -- cgit v1.2.3