Get rid of casts like static_cast<MiniBrowser*>(const_cast<void*>(clientInfo)) on MiniBrowser code.

Reviewed by: Daker Fernandes Pinheiro