DescriptionImplement Field::SetHidden using Field::SetDisplay.
Following up on [1], where the duplicated logic in
Field::SetDisplay was factored out into a helper function,
CL further cleans up a related method: ::SetHidden.
Field::SetHidden(true), for instance, is equivalent
to calling Field::SetDisplay(1), whereas Field::SetHidden(false)
is equivalent to Field::SetDisplay(0);
No behavior change is expected.
[1] https://codereview.chromium.org/2255843002
Committed: https://pdfium.googlesource.com/pdfium/+/a73b8fee8751dae443af9437007261e4a1827a4f
Patch Set 1 #
Messages
Total messages: 8 (4 generated)
|