refactor: use platform-specific TaskRunner to print (#27225)

This commit is contained in:
Shelley Vohr 2021-01-13 09:17:11 -08:00 committed by GitHub
parent 1c66cacf70
commit 0599487e65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 5 deletions

View file

@ -783,6 +783,7 @@ class WebContents : public gin::Wrappable<WebContents>,
DevToolsIndexingJobsMap devtools_indexing_jobs_;
scoped_refptr<base::SequencedTaskRunner> file_task_runner_;
scoped_refptr<base::TaskRunner> print_task_runner_;
// Stores the frame thats currently in fullscreen, nullptr if there is none.
content::RenderFrameHost* fullscreen_frame_ = nullptr;