Fix deletion of comments on the publish comments screen

We were getting a ClassCastException while deleting a comment on
the publish comments screen, because the editor assumed that it
was only contained within the AbstractPatchContentTable.  Instead
use a common interface for the containing UI member.

Bug: issue 376
Change-Id: Id4fb59a85862f935f34c945ee70a0a61d69ec896
Signed-off-by: Shawn O. Pearce <>
4 files changed