| Index: xfa/fwl/core/cfwl_msgkey.cpp
|
| diff --git a/core/fpdfapi/parser/cpdf_null.cpp b/xfa/fwl/core/cfwl_msgkey.cpp
|
| similarity index 50%
|
| copy from core/fpdfapi/parser/cpdf_null.cpp
|
| copy to xfa/fwl/core/cfwl_msgkey.cpp
|
| index 41478d7b4c00cbf225893eed6694edf68589622f..0163da9e8d4edefc1ac12d2984879c6194175be8 100644
|
| --- a/core/fpdfapi/parser/cpdf_null.cpp
|
| +++ b/xfa/fwl/core/cfwl_msgkey.cpp
|
| @@ -4,15 +4,18 @@
|
|
|
| // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
|
|
|
| -#include "core/fpdfapi/parser/cpdf_null.h"
|
| +#include "xfa/fwl/core/cfwl_msgkey.h"
|
| +
|
| #include "third_party/base/ptr_util.h"
|
|
|
| -CPDF_Null::CPDF_Null() {}
|
| +CFWL_MsgKey::CFWL_MsgKey() {}
|
| +
|
| +CFWL_MsgKey::~CFWL_MsgKey() {}
|
|
|
| -CPDF_Object::Type CPDF_Null::GetType() const {
|
| - return NULLOBJ;
|
| +std::unique_ptr<CFWL_Message> CFWL_MsgKey::Clone() {
|
| + return pdfium::MakeUnique<CFWL_MsgKey>(*this);
|
| }
|
|
|
| -std::unique_ptr<CPDF_Object> CPDF_Null::Clone() const {
|
| - return pdfium::MakeUnique<CPDF_Null>();
|
| +CFWL_MessageType CFWL_MsgKey::GetClassID() const {
|
| + return CFWL_MessageType::Key;
|
| }
|
|
|