Small style fixes

This commit is contained in:
Cheng Zhao 2014-12-19 12:48:53 -08:00
parent 598060dfd8
commit 6cdc8e4b96
3 changed files with 21 additions and 10 deletions

View file

@ -644,6 +644,8 @@ void NativeWindowMac::SetProgressBar(double progress) {
void NativeWindowMac::ShowDefinitionForSelection() {
content::WebContents* web_contents = GetWebContents();
if (!web_contents)
return;
content::RenderWidgetHostView* rwhv = web_contents->GetRenderWidgetHostView();
if (!rwhv)
return;