diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-04-20 15:12:39 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-04-20 15:12:39 -0700 |
commit | a4fbc2814c231da29104bb8922811127a59bd6e7 (patch) | |
tree | 69148339dca41f00cccd8c0c39958a4a07b95da4 /fpdfsdk/include/fxedit/fx_edit.h | |
parent | 19ae17578f99621100a26dac3e2c7c3dbf7c7cd1 (diff) | |
download | pdfium-a4fbc2814c231da29104bb8922811127a59bd6e7.tar.xz |
Remove Release() from IFX_Edit_UndoItem.
Also delete unused CFFL_Edit_UndoItem class.
BUG=https://code.google.com/p/pdfium/issues/detail?id=140
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1098043002
Diffstat (limited to 'fpdfsdk/include/fxedit/fx_edit.h')
-rw-r--r-- | fpdfsdk/include/fxedit/fx_edit.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fpdfsdk/include/fxedit/fx_edit.h b/fpdfsdk/include/fxedit/fx_edit.h index a842fd6284..bf00995ea9 100644 --- a/fpdfsdk/include/fxedit/fx_edit.h +++ b/fpdfsdk/include/fxedit/fx_edit.h @@ -164,13 +164,11 @@ public: class IFX_Edit_UndoItem { public: - virtual void Release() = 0; + virtual ~IFX_Edit_UndoItem() { } + virtual void Undo() = 0; virtual void Redo() = 0; virtual CFX_WideString GetUndoTitle() = 0; - -protected: - ~IFX_Edit_UndoItem() { } }; class FXET_CLASS IFX_Edit |