if RenderProcessHost is not used, please move this code to .cc