Check for Mac in if block
This commit is contained in:
parent
c66299bf66
commit
6337e93e6d
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue