summaryrefslogtreecommitdiff
path: root/core/fxge/fx_dib.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-10-17 11:20:01 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-17 11:20:01 -0700
commit2239cee23e914b974b458699d52733d7dd3116a6 (patch)
treec9c2baa2331b4ee4fc081dc09da27017ab718b2f /core/fxge/fx_dib.h
parentd5bd8a16565bbee05bfb8a8409f3ba90c461da0e (diff)
downloadpdfium-2239cee23e914b974b458699d52733d7dd3116a6.tar.xz
Rename CFX_CountRef to CFX_SharedCopyOnWrite
Avoid confusing this class with other ref-counted objects. Review-Url: https://codereview.chromium.org/2426673002
Diffstat (limited to 'core/fxge/fx_dib.h')
-rw-r--r--core/fxge/fx_dib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxge/fx_dib.h b/core/fxge/fx_dib.h
index 038d103989..6ffad8c8c9 100644
--- a/core/fxge/fx_dib.h
+++ b/core/fxge/fx_dib.h
@@ -10,7 +10,7 @@
#include <memory>
#include <vector>
-#include "core/fxcrt/cfx_count_ref.h"
+#include "core/fxcrt/cfx_shared_copy_on_write.h"
#include "core/fxcrt/fx_basic.h"
#include "core/fxcrt/fx_coordinates.h"
@@ -389,7 +389,7 @@ class CFX_DIBExtractor {
std::unique_ptr<CFX_DIBitmap> m_pBitmap;
};
-typedef CFX_CountRef<CFX_DIBitmap> CFX_DIBitmapRef;
+typedef CFX_SharedCopyOnWrite<CFX_DIBitmap> CFX_DIBitmapRef;
class CFX_FilteredDIB : public CFX_DIBSource {
public: