summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdf_edit_embeddertest.cpp
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2018-04-16 20:25:17 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-16 20:25:17 +0000
commit846fb0301a146319826a04c4a6e2fafadf92813a (patch)
treee1c38c4eeda8832b17e5550aa6b40be8b995e869 /fpdfsdk/fpdf_edit_embeddertest.cpp
parent219b0a63fad9dd99ad0bd79b721edf64996ac467 (diff)
downloadpdfium-846fb0301a146319826a04c4a6e2fafadf92813a.tar.xz
Simplify CFX_DIBitmap::TransferBitmap
This CL changes CFX_DIBitmap::TransferBitmap so that the exception cases are handled before, and early returns are used to reduce nesting. Change-Id: I733adce5de15d345ee160a8b250133836e9d2873 Reviewed-on: https://pdfium-review.googlesource.com/30770 Commit-Queue: Nicolás Peña Moreno <npm@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdf_edit_embeddertest.cpp')
0 files changed, 0 insertions, 0 deletions