[MessagePort] Fix for trusted message port.
authorPawel Andruszkiewicz <p.andruszkie@samsung.com>
Mon, 27 Jul 2015 13:55:27 +0000 (15:55 +0200)
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>
Mon, 27 Jul 2015 13:55:27 +0000 (15:55 +0200)
[Verification] UTC: 25/29.
               TCT: 48/48.

Change-Id: Ibbfb61d0831c4bce4cc507b1b0772279cad1361f
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
src/messageport/messageport_instance.cc

index cd89c1e4bf3ba457c6bdde95c8b13c5620d7358d..8ef03b02504c28a895deca37f65e18a67672175a 100755 (executable)
@@ -162,7 +162,7 @@ void MessageportInstance::
     args.get("localMessagePortName").get<std::string>();
 
   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");