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

Unified Diff: chrome/browser/image_decoder.cc

Issue 8922011: Convert calls to the utility process in service code to use the zygote on Linux. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years 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: chrome/browser/image_decoder.cc
diff --git a/chrome/browser/image_decoder.cc b/chrome/browser/image_decoder.cc
index 3fb7aa8d1f41a07d41c5995860794d9f5b558294..390c93a6a6cb08b03ea57d51595c7fd05b4e0e60 100644
--- a/chrome/browser/image_decoder.cc
+++ b/chrome/browser/image_decoder.cc
@@ -60,5 +60,6 @@ void ImageDecoder::DecodeImageInSandbox(
UtilityProcessHost* utility_process_host =
new UtilityProcessHost(this,
target_thread_id_);
+ utility_process_host->set_use_linux_zygote(true);
utility_process_host->Send(new ChromeUtilityMsg_DecodeImage(image_data));
}
« no previous file with comments | « chrome/browser/component_updater/component_updater_service.cc ('k') | chrome/browser/web_resource/web_resource_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698