| Index: content/browser/memory/memory_coordinator.cc
|
| diff --git a/content/browser/memory/memory_coordinator.cc b/content/browser/memory/memory_coordinator.cc
|
| index cc7436a3e7a293086f55ffdb829a8adf37a5efd8..4317e5cda6f8777473ee19c5fca46e4c46e9ff93 100644
|
| --- a/content/browser/memory/memory_coordinator.cc
|
| +++ b/content/browser/memory/memory_coordinator.cc
|
| @@ -187,8 +187,9 @@ void MemoryCoordinator::CreateChildInfoMapEntry(
|
| std::unique_ptr<MemoryCoordinatorHandleImpl> handle) {
|
| auto& child_info = children_[render_process_id];
|
| // Process always start with normal memory state.
|
| - // TODO(chrisha): Consider having memory state be a startup parameter of
|
| - // child processes, allowing them to be launched in a restricted state.
|
| + // We'll set renderer's memory state to the current global state when the
|
| + // corresponding renderer process is ready to communicate. Renderer processes
|
| + // call AddChild() when they are ready.
|
| child_info.memory_state = mojom::MemoryState::NORMAL;
|
| child_info.handle = std::move(handle);
|
| }
|
|
|