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

Side by Side Diff: core/fxge/cfx_graphstate.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 | « core/fxcrt/cfx_shared_copy_on_write_unittest.cpp ('k') | core/fxge/fx_dib.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_FXGE_CFX_GRAPHSTATE_H_ 7 #ifndef CORE_FXGE_CFX_GRAPHSTATE_H_
8 #define CORE_FXGE_CFX_GRAPHSTATE_H_ 8 #define CORE_FXGE_CFX_GRAPHSTATE_H_
9 9
10 #include "core/fxcrt/cfx_count_ref.h" 10 #include "core/fxcrt/cfx_shared_copy_on_write.h"
11 #include "core/fxge/cfx_graphstatedata.h" 11 #include "core/fxge/cfx_graphstatedata.h"
12 12
13 class CPDF_Array; 13 class CPDF_Array;
14 14
15 class CFX_GraphState { 15 class CFX_GraphState {
16 public: 16 public:
17 CFX_GraphState(); 17 CFX_GraphState();
18 CFX_GraphState(const CFX_GraphState& that); 18 CFX_GraphState(const CFX_GraphState& that);
19 ~CFX_GraphState(); 19 ~CFX_GraphState();
20 20
(...skipping 10 matching lines...) Expand all
31 CFX_GraphStateData::LineJoin GetLineJoin() const; 31 CFX_GraphStateData::LineJoin GetLineJoin() const;
32 void SetLineJoin(CFX_GraphStateData::LineJoin join); 32 void SetLineJoin(CFX_GraphStateData::LineJoin join);
33 33
34 FX_FLOAT GetMiterLimit() const; 34 FX_FLOAT GetMiterLimit() const;
35 void SetMiterLimit(FX_FLOAT limit); 35 void SetMiterLimit(FX_FLOAT limit);
36 36
37 // FIXME(tsepez): remove when all GraphStateData usage gone. 37 // FIXME(tsepez): remove when all GraphStateData usage gone.
38 const CFX_GraphStateData* GetObject() const { return m_Ref.GetObject(); } 38 const CFX_GraphStateData* GetObject() const { return m_Ref.GetObject(); }
39 39
40 private: 40 private:
41 CFX_CountRef<CFX_GraphStateData> m_Ref; 41 CFX_SharedCopyOnWrite<CFX_GraphStateData> m_Ref;
42 }; 42 };
43 43
44 #endif // CORE_FXGE_CFX_GRAPHSTATE_H_ 44 #endif // CORE_FXGE_CFX_GRAPHSTATE_H_
OLDNEW
« no previous file with comments | « core/fxcrt/cfx_shared_copy_on_write_unittest.cpp ('k') | core/fxge/fx_dib.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698