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

Unified Diff: content/utility/utility_thread_impl.cc

Issue 61643015: Adds imageWriterPrivate support for Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup and now working on Windows with minimal changes. Created 6 years, 10 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 6151de67e7c8aa53abfc10444182ed2b1d3b8ea6..6fa43c8bfc0d33983330cde5502873fc5d8aacb6 100644
--- a/content/utility/utility_thread_impl.cc
+++ b/content/utility/utility_thread_impl.cc
@@ -118,7 +118,8 @@ void UtilityThreadImpl::OnBatchModeStarted() {
}
void UtilityThreadImpl::OnBatchModeFinished() {
- ChildProcess::current()->ReleaseProcess();
+ batch_mode_ = false;
+ ReleaseProcessIfNeeded();
}
#if defined(OS_POSIX)

Powered by Google App Engine
This is Rietveld 408576698