From: Pawel Andruszkiewicz
Date: Mon, 27 Jul 2015 13:55:27 +0000 (+0200)
Subject: [MessagePort] Fix for trusted message port.
X-Git-Tag: submit/tizen_tv/20150803.021740^2^2~18^2
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e5b7790772438fed6c148630c95c0ec5bce2dbca;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git
[MessagePort] Fix for trusted message port.
[Verification] UTC: 25/29.
TCT: 48/48.
Change-Id: Ibbfb61d0831c4bce4cc507b1b0772279cad1361f
Signed-off-by: Pawel Andruszkiewicz
---
diff --git a/src/messageport/messageport_instance.cc b/src/messageport/messageport_instance.cc
index cd89c1e4..8ef03b02 100755
--- a/src/messageport/messageport_instance.cc
+++ b/src/messageport/messageport_instance.cc
@@ -162,7 +162,7 @@ void MessageportInstance::
args.get("localMessagePortName").get();
portId = message_port_register_trusted_local_port
- (localMessagePortName.c_str(), OnReceiveLocalMessage, NULL);
+ (localMessagePortName.c_str(), OnReceiveLocalMessage, this);
LoggerD("Registering trusted local port %s:%s", localMessagePortName.c_str(),
portId < 0 ? "false" : "true");