Require !OS_MACOSX as well as TOOLKIT_VIEWS for views code
This commit is contained in:
parent
1cc5492784
commit
87d0175c76
4 changed files with 9 additions and 9 deletions
|
@ -178,7 +178,7 @@ void CommonWebContentsDelegate::SetOwnerWindow(
|
|||
auto relay = std::make_unique<NativeWindowRelay>(owner_window_);
|
||||
auto* relay_key = relay->key;
|
||||
if (owner_window) {
|
||||
#if defined(TOOLKIT_VIEWS)
|
||||
#if defined(TOOLKIT_VIEWS) && !defined(OS_MACOSX)
|
||||
autofill_popup_.reset(new AutofillPopup());
|
||||
#endif
|
||||
web_contents->SetUserData(relay_key, std::move(relay));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue