Remove unnecessary method argument.

The 'self' argument is unnecessary and when the the method is invoked,
cause parameters error.

Fix bug #1171376

Change-Id: I612b466a955cb8418855849119599222ba6479d3
(cherry picked from commit 588aa3625da1272a1225e01ddd0f70d02f7beac9)
Merge "Remove unnecessary method argument." into stable/grizzly