summaryrefslogtreecommitdiff
path: root/core/include/fxcrt/fx_basic.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-08-05 12:34:06 -0700
committerTom Sepez <tsepez@chromium.org>2015-08-05 12:34:06 -0700
commitae51c810a44844ef437393c1768be8f7766586b2 (patch)
tree373bbfa8c8720af43d58a9982beea3ebf10c5d6d /core/include/fxcrt/fx_basic.h
parente3166a8c39c8943f6cafb2ffe10bd9564e3eaf16 (diff)
downloadpdfium-ae51c810a44844ef437393c1768be8f7766586b2.tar.xz
Kill off last uses of FX_NEW in XFA.
It would seem that this never merged completely. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1277583002 .
Diffstat (limited to 'core/include/fxcrt/fx_basic.h')
-rw-r--r--core/include/fxcrt/fx_basic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/include/fxcrt/fx_basic.h b/core/include/fxcrt/fx_basic.h
index d93d3f7193..62a8f2a369 100644
--- a/core/include/fxcrt/fx_basic.h
+++ b/core/include/fxcrt/fx_basic.h
@@ -1056,7 +1056,7 @@ class CFX_CountRef {
}
m_pObject = NULL;
}
- m_pObject = FX_NEW CountedObj;
+ m_pObject = new CountedObj;
if (!m_pObject) {
return NULL;
}
@@ -1099,7 +1099,7 @@ class CFX_CountRef {
ObjClass* GetModify() {
if (m_pObject == NULL) {
- m_pObject = FX_NEW CountedObj;
+ m_pObject = new CountedObj;
if (m_pObject) {
m_pObject->m_RefCount = 1;
}
@@ -1107,7 +1107,7 @@ class CFX_CountRef {
m_pObject->m_RefCount--;
CountedObj* pOldObject = m_pObject;
m_pObject = NULL;
- m_pObject = FX_NEW CountedObj(*pOldObject);
+ m_pObject = new CountedObj(*pOldObject);
if (m_pObject) {
m_pObject->m_RefCount = 1;
}