Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bridiver committed Feb 25, 2017
1 parent abd367c commit 39054e8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions atom/browser/api/atom_api_web_contents.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 39054e8

Please sign in to comment.