summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdf_catalog.cpp
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2018-06-13 17:36:56 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-06-13 17:36:56 +0000
commitc2b34d2adc6c987d882b4173265697917df74f54 (patch)
tree413de391f01a3f81f03b55516491bb69ee29091b /fpdfsdk/fpdf_catalog.cpp
parent5f032995b3d7f874eafbd9dc4a56e8f08fbfa87d (diff)
downloadpdfium-c2b34d2adc6c987d882b4173265697917df74f54.tar.xz
Refactor GetOrCreateDefaultGraphics out of ProcessDefaultGraphics.
GetOrCreateDefaultGraphics() has a side effect, and it needs to be called regardless of whether a stream is generated of not. Failing to do so causes default graphics to not exist in some cases. Bug: pdfium:1051 Change-Id: I039cb6b755cc15c8ca667c92e581d085f3f2a124 Reviewed-on: https://pdfium-review.googlesource.com/35010 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdf_catalog.cpp')
0 files changed, 0 insertions, 0 deletions