diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-05-01 21:00:44 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-01 21:00:44 +0000 |
commit | 0b0b0b32bc2b03f09b7156b855c626a44703f9c4 (patch) | |
tree | 411225574a545e49ae4d883082be6a013460b7c6 /xfa/fde/cfde_texteditengine.cpp | |
parent | 9294ffdf371fbae8c166dd5e3c63955f1d3ab18e (diff) | |
download | pdfium-0b0b0b32bc2b03f09b7156b855c626a44703f9c4.tar.xz |
Transform rect out param from reference to pointer in XFA code.
Change-Id: Ib5f8b8754bca8198d9122700d7d876b45d1428da
Reviewed-on: https://pdfium-review.googlesource.com/31852
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa/fde/cfde_texteditengine.cpp')
-rw-r--r-- | xfa/fde/cfde_texteditengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fde/cfde_texteditengine.cpp b/xfa/fde/cfde_texteditengine.cpp index 0157b353cf..87dba53158 100644 --- a/xfa/fde/cfde_texteditengine.cpp +++ b/xfa/fde/cfde_texteditengine.cpp @@ -246,7 +246,7 @@ size_t CFDE_TextEditEngine::CountCharsExceedingSize(const WideString& text, for (size_t i = 0; i < num_to_check; i++) { // This does a lot of string copying .... // TODO(dsinclair): make CalcLogicSize take a WideStringC instead. - text_out->CalcLogicSize(WideString(temp), text_rect); + text_out->CalcLogicSize(WideString(temp), &text_rect); if (limit_horizontal_area_ && text_rect.width <= available_width_) break; |