Fix compilation error with -Werror=delete-non-virtual-dtor flag set

Added a virtual destructor to the local RunAsBrowser() 'Observer' class (even though it is not needed there) so that compiler does not complain.