commit | 1438873bba3d78ff70d4ad436f83f7d33f70276e | [log] [tgz] |
---|---|---|
author | Tom Sepez <tsepez@chromium.org> | Wed Jan 12 21:16:13 2022 +0000 |
committer | Pdfium LUCI CQ <pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 12 21:16:13 2022 +0000 |
tree | 463f48ee4fe0ef775821ac8e2616a7d34a0ef0ee | |
parent | 0496145b2199a2a2aefefc66bdbe7cecf7f58f64 [diff] |
Use yet another UnownedPtr<> in FX Barcode. Change-Id: I270f44ba264215a3136910aebbbf13c1fbbaf8b7 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/89250 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/fxbarcode/datamatrix/BC_SymbolInfo.h b/fxbarcode/datamatrix/BC_SymbolInfo.h index ce40f74..fff9c04 100644 --- a/fxbarcode/datamatrix/BC_SymbolInfo.h +++ b/fxbarcode/datamatrix/BC_SymbolInfo.h
@@ -10,6 +10,8 @@ #include <stddef.h> #include <stdint.h> +#include "core/fxcrt/unowned_ptr.h" + class CBC_SymbolInfo { public: struct Data { @@ -52,7 +54,7 @@ return data_->matrix_width != data_->matrix_height; } - const Data* const data_; + UnownedPtr<const Data> const data_; }; #endif // FXBARCODE_DATAMATRIX_BC_SYMBOLINFO_H_