diff options
author | Nicolas Pena <npm@chromium.org> | 2018-04-16 20:25:17 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-16 20:25:17 +0000 |
commit | 846fb0301a146319826a04c4a6e2fafadf92813a (patch) | |
tree | e1c38c4eeda8832b17e5550aa6b40be8b995e869 /core/fxcodec/codec/fx_codec_progress.cpp | |
parent | 219b0a63fad9dd99ad0bd79b721edf64996ac467 (diff) | |
download | pdfium-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 'core/fxcodec/codec/fx_codec_progress.cpp')
0 files changed, 0 insertions, 0 deletions