don't show the dummy window for the rest of the dialogs too on mac

This commit is contained in:
Heilig Benedek 2017-09-13 09:36:28 +02:00 committed by Cheng Zhao
parent 5373afa472
commit 71b36ef54d
7 changed files with 51 additions and 20 deletions

View file

@ -1361,8 +1361,6 @@ void NativeWindowViews::ShowAutofillPopup(
const gfx::RectF& bounds,
const std::vector<base::string16>& values,
const std::vector<base::string16>& labels) {
// auto wc = atom::api::WebContents::FromWrappedClass(
// v8::Isolate::GetCurrent(), web_contents());
autofill_popup_->CreateView(
frame_host,
web_contents->IsOffScreenOrEmbedderOffscreen(),