Commit 20505915 authored by Takashi Sakamoto's avatar Takashi Sakamoto Committed by Commit Bot

Remove MemoryCoordinator from BrowserMainLoop

Bug: 888904
Change-Id: I4531f45b3b5cc6da3deaae06955a30150e762e36
Reviewed-on: https://chromium-review.googlesource.com/c/1286089Reviewed-by: default avatarJohn Abd-El-Malek <jam@chromium.org>
Commit-Queue: Takashi Sakamoto <tasak@google.com>
Cr-Commit-Position: refs/heads/master@{#600658}
parent b7babab2
......@@ -20,7 +20,6 @@
#include "base/feature_list.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/memory/memory_coordinator_proxy.h"
#include "base/memory/memory_pressure_monitor.h"
#include "base/message_loop/message_loop.h"
#include "base/message_loop/message_loop_current.h"
......@@ -80,7 +79,6 @@
#include "content/browser/loader_delegate_impl.h"
#include "content/browser/media/capture/audio_mirroring_manager.h"
#include "content/browser/media/media_internals.h"
#include "content/browser/memory/memory_coordinator_impl.h"
#include "content/browser/memory/swap_metrics_delegate_uma.h"
#include "content/browser/net/browser_online_state_observer.h"
#include "content/browser/renderer_host/media/media_stream_manager.h"
......@@ -1456,9 +1454,6 @@ bool BrowserMainLoop::UsingInProcessGpu() const {
void BrowserMainLoop::InitializeMemoryManagementComponent() {
memory_pressure_monitor_ = CreateMemoryPressureMonitor(parsed_command_line_);
if (base::FeatureList::IsEnabled(features::kMemoryCoordinator))
MemoryCoordinatorImpl::GetInstance()->Start();
std::unique_ptr<SwapMetricsDriver::Delegate> delegate(
base::WrapUnique<SwapMetricsDriver::Delegate>(
new SwapMetricsDelegateUma()));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment