Check for Mac in if block

This commit is contained in:
Kevin Sawicki 2016-06-07 13:20:06 -07:00
parent c66299bf66
commit 6337e93e6d

View file

@ -1095,7 +1095,7 @@ void WebContents::StopFindInPage(content::StopFindAction action) {
}
void WebContents::ShowDefinitionForSelection() {
#if defined(OS_WIN)
#if defined(OS_MACOSX)
const auto view = web_contents()->GetRenderWidgetHostView();
if (view)
view->ShowDefinitionForSelection();