From 39054e8d55e61293314454d2c8ab152170de9e85 Mon Sep 17 00:00:00 2001 From: bridiver Date: Fri, 24 Feb 2017 17:29:11 -0700 Subject: [PATCH] possible fix for https://stats.brave.com/dashboard#crash/58b0b660e7357300117e57f4 auditors @bbondy @bsclifton --- atom/browser/api/atom_api_web_contents.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/atom/browser/api/atom_api_web_contents.cc b/atom/browser/api/atom_api_web_contents.cc index 7a0674caa9..9cc41d37cd 100644 --- a/atom/browser/api/atom_api_web_contents.cc +++ b/atom/browser/api/atom_api_web_contents.cc @@ -1432,8 +1432,7 @@ void WebContents::Print(mate::Arguments* args) { return; } - printing::PrintViewManagerBasic::FromWebContents(web_contents())-> - PrintNow(printing::GetFrameToPrint(web_contents())); + printing::StartBasicPrint(web_contents()); } void WebContents::PrintToPDF(const base::DictionaryValue& setting,