diff options
author | tsepez <tsepez@chromium.org> | 2016-11-23 14:20:19 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-23 14:20:19 -0800 |
commit | 81b224669647c9dd3c5ea2e013ee3cc109744bb8 (patch) | |
tree | eb3d718b2be01b04fab9586c0b9f94035d1077d6 /BUILD.gn | |
parent | 9067fd683ebf8d6467f8cc5aa7daf5e1f950f846 (diff) | |
download | pdfium-81b224669647c9dd3c5ea2e013ee3cc109744bb8.tar.xz |
Add CFX_MaybeOwned<> template.
This will allow us to get rid of more .release()s of unique_ptrs,
as shown by the changed cpdf_colorspace usage.
Review-Url: https://codereview.chromium.org/2526903002
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -703,6 +703,7 @@ config("fxge_warnings") { static_library("fxcrt") { sources = [ + "core/fxcrt/cfx_maybe_owned.h", "core/fxcrt/cfx_observable.h", "core/fxcrt/cfx_retain_ptr.h", "core/fxcrt/cfx_shared_copy_on_write.h", @@ -1734,6 +1735,7 @@ test("pdfium_unittests") { "core/fpdftext/fpdf_text_int_unittest.cpp", "core/fxcodec/codec/fx_codec_jpx_unittest.cpp", "core/fxcodec/jbig2/JBig2_Image_unittest.cpp", + "core/fxcrt/cfx_maybe_owned_unittest.cpp", "core/fxcrt/cfx_observable_unittest.cpp", "core/fxcrt/cfx_retain_ptr_unittest.cpp", "core/fxcrt/cfx_shared_copy_on_write_unittest.cpp", |