Index: content/ppapi_plugin/ppapi_thread.cc |
diff --git a/content/ppapi_plugin/ppapi_thread.cc b/content/ppapi_plugin/ppapi_thread.cc |
index 5829f837086061c51d729fed63072f4311e472b5..8a452c16417a060d67d6f622679209a9c3bdd598 100644 |
--- a/content/ppapi_plugin/ppapi_thread.cc |
+++ b/content/ppapi_plugin/ppapi_thread.cc |
@@ -107,7 +107,11 @@ typedef int32_t (*InitializeBrokerFunc) |
(PP_ConnectInstance_Func* connect_instance_func); |
PpapiThread::PpapiThread(const base::CommandLine& command_line, bool is_broker) |
- : is_broker_(is_broker), |
+ : ChildThreadImpl(Options::Builder() |
+ .InitDiscardableMemory( |
+ !command_line.HasSwitch(switches::kSingleProcess)) |
+ .Build()), |
+ is_broker_(is_broker), |
plugin_globals_(GetIOTaskRunner()), |
connect_instance_func_(NULL), |
local_pp_module_(base::RandInt(0, std::numeric_limits<PP_Module>::max())), |