Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(642)

Unified Diff: xfa/fwl/core/cfwl_message.cpp

Issue 2530993002: Cleanup FWL Event and Message code. (Closed)
Patch Set: Cleanup Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: xfa/fwl/core/cfwl_message.cpp
diff --git a/xfa/fwl/core/cfwl_message.cpp b/xfa/fwl/core/cfwl_message.cpp
index e233900d6ecf808e5d8c3e3a9e9f746538e4e8e5..b5a9b077e5734709e9c2bc86d6f5e80db99f4361 100644
--- a/xfa/fwl/core/cfwl_message.cpp
+++ b/xfa/fwl/core/cfwl_message.cpp
@@ -6,15 +6,14 @@
#include "xfa/fwl/core/cfwl_message.h"
-CFWL_Message::CFWL_Message()
- : m_pSrcTarget(nullptr), m_pDstTarget(nullptr), m_dwExtend(0) {}
+CFWL_Message::CFWL_Message(CFWL_MessageType type)
+ : m_pSrcTarget(nullptr),
+ m_pDstTarget(nullptr),
+ m_dwExtend(0),
+ m_type(type) {}
CFWL_Message::~CFWL_Message() {}
std::unique_ptr<CFWL_Message> CFWL_Message::Clone() {
return nullptr;
}
-
-CFWL_MessageType CFWL_Message::GetClassID() const {
- return CFWL_MessageType::None;
-}

Powered by Google App Engine
This is Rietveld 408576698