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() {
|
void WebContents::ShowDefinitionForSelection() {
|
||||||
#if defined(OS_WIN)
|
#if defined(OS_MACOSX)
|
||||||
const auto view = web_contents()->GetRenderWidgetHostView();
|
const auto view = web_contents()->GetRenderWidgetHostView();
|
||||||
if (view)
|
if (view)
|
||||||
view->ShowDefinitionForSelection();
|
view->ShowDefinitionForSelection();
|
||||||
|
|
Loading…
Reference in a new issue