summaryrefslogtreecommitdiff
path: root/xfa/include/fwl
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 /xfa/include/fwl
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 'xfa/include/fwl')
-rw-r--r--xfa/include/fwl/core/fwl_note.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/include/fwl/core/fwl_note.h b/xfa/include/fwl/core/fwl_note.h
index ceea8a6a2f..ee85b9630a 100644
--- a/xfa/include/fwl/core/fwl_note.h
+++ b/xfa/include/fwl/core/fwl_note.h
@@ -173,14 +173,14 @@ class CFWL_Message : public CFWL_Note {
class classname : public CFWL_Message { \
public: \
classname() : CFWL_Message() {} \
- virtual CFWL_Note* Clone() { return FX_NEW classname(*this); } \
+ virtual CFWL_Note* Clone() { return new classname(*this); } \
virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const { \
wsClass = L" ## classname ## "; \
return FWL_ERR_Succeeded; \
} \
virtual FX_DWORD GetClassID() const { return msghashcode; } \
virtual CFWL_Event* CloneToEvent() { \
- classname* pEvent = FX_NEW classname; \
+ classname* pEvent = new classname; \
pEvent->m_bIsEvent = TRUE; \
return (CFWL_Event*)pEvent; \
}