Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2045)

Unified Diff: content/utility/utility_thread_impl.cc

Issue 2832633002: Add PDF compositor service (Closed)
Patch Set: rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/utility/utility_thread_impl.cc
diff --git a/content/utility/utility_thread_impl.cc b/content/utility/utility_thread_impl.cc
index 681bffd0854f0357c795ede5e988430efe068688..fedbd1e712fc8c361753f2d2d2a54788b9d5e4d6 100644
--- a/content/utility/utility_thread_impl.cc
+++ b/content/utility/utility_thread_impl.cc
@@ -68,6 +68,11 @@ void UtilityThreadImpl::ReleaseProcessIfNeeded() {
}
}
+scoped_refptr<base::SingleThreadTaskRunner>
+UtilityThreadImpl::GetIOTaskRunner() {
+ return ChildProcess::current()->io_task_runner();
+}
+
void UtilityThreadImpl::EnsureBlinkInitialized() {
if (blink_platform_impl_ || IsInBrowserProcess()) {
// We can only initialize WebKit on one thread, and in single process mode

Powered by Google App Engine
This is Rietveld 408576698