diff options
author | Nicolas Pena <npm@chromium.org> | 2017-05-11 15:43:47 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-11 20:01:33 +0000 |
commit | 0dc8571d1354b8c319510be625a446218449f532 (patch) | |
tree | fec012e29cd98f7565565cdc84d219709c7e1dd6 /core/fxge/ifx_renderdevicedriver.cpp | |
parent | 830897a1774fb50d04b656d7bf70be321e133cf9 (diff) | |
download | pdfium-0dc8571d1354b8c319510be625a446218449f532.tar.xz |
Do not use vector data() when it is empty
Before, all pointers were being initialized to 0. After raw pointers were
changed to vectors, data() was used in some cases, but now no longer returns
nullptr when it is supposed to. This CL fixes that.
Bug: chromium:721417
Change-Id: Ia31b75b18dc17d7eed48538145fe5d0d59668843
Reviewed-on: https://pdfium-review.googlesource.com/5353
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'core/fxge/ifx_renderdevicedriver.cpp')
0 files changed, 0 insertions, 0 deletions