Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(506)

Side by Side Diff: core/fpdfapi/page/cpdf_clippath.h

Issue 2426673002: Rename CFX_CountRef to CFX_SharedCopyOnWrite (Closed)
Patch Set: fix filenames Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « BUILD.gn ('k') | core/fpdfapi/page/cpdf_colorstate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef CORE_FPDFAPI_PAGE_CPDF_CLIPPATH_H_ 7 #ifndef CORE_FPDFAPI_PAGE_CPDF_CLIPPATH_H_
8 #define CORE_FPDFAPI_PAGE_CPDF_CLIPPATH_H_ 8 #define CORE_FPDFAPI_PAGE_CPDF_CLIPPATH_H_
9 9
10 #include <memory> 10 #include <memory>
11 #include <utility> 11 #include <utility>
12 #include <vector> 12 #include <vector>
13 13
14 #include "core/fpdfapi/page/cpdf_path.h" 14 #include "core/fpdfapi/page/cpdf_path.h"
15 #include "core/fxcrt/cfx_count_ref.h" 15 #include "core/fxcrt/cfx_shared_copy_on_write.h"
16 #include "core/fxcrt/fx_basic.h" 16 #include "core/fxcrt/fx_basic.h"
17 #include "core/fxcrt/fx_coordinates.h" 17 #include "core/fxcrt/fx_coordinates.h"
18 18
19 class CPDF_Path; 19 class CPDF_Path;
20 class CPDF_TextObject; 20 class CPDF_TextObject;
21 21
22 class CPDF_ClipPath { 22 class CPDF_ClipPath {
23 public: 23 public:
24 CPDF_ClipPath(); 24 CPDF_ClipPath();
25 CPDF_ClipPath(const CPDF_ClipPath& that); 25 CPDF_ClipPath(const CPDF_ClipPath& that);
(...skipping 24 matching lines...) Expand all
50 using PathAndTypeData = std::pair<CPDF_Path, uint8_t>; 50 using PathAndTypeData = std::pair<CPDF_Path, uint8_t>;
51 51
52 PathData(); 52 PathData();
53 PathData(const PathData& that); 53 PathData(const PathData& that);
54 ~PathData(); 54 ~PathData();
55 55
56 std::vector<PathAndTypeData> m_PathAndTypeList; 56 std::vector<PathAndTypeData> m_PathAndTypeList;
57 std::vector<std::unique_ptr<CPDF_TextObject>> m_TextList; 57 std::vector<std::unique_ptr<CPDF_TextObject>> m_TextList;
58 }; 58 };
59 59
60 CFX_CountRef<PathData> m_Ref; 60 CFX_SharedCopyOnWrite<PathData> m_Ref;
61 }; 61 };
62 62
63 #endif // CORE_FPDFAPI_PAGE_CPDF_CLIPPATH_H_ 63 #endif // CORE_FPDFAPI_PAGE_CPDF_CLIPPATH_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | core/fpdfapi/page/cpdf_colorstate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698