| Index: third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
|
| diff --git a/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp b/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
|
| index 001fe78863d67dab529f3ed3382dfe7546d76378..5c57d0e90f1a5f10879dc77e14559dd8d95fbd5c 100644
|
| --- a/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
|
| +++ b/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
|
| @@ -234,28 +234,11 @@ ScopedUnittestsEnvironmentSetup::ScopedUnittestsEnvironmentSetup(int argc, char*
|
| {
|
| base::CommandLine::Init(argc, argv);
|
|
|
| - base::test::InitializeICUForTesting();
|
| -
|
| - m_discardableMemoryAllocator = wrapUnique(new base::TestDiscardableMemoryAllocator);
|
| - base::DiscardableMemoryAllocator::SetInstance(m_discardableMemoryAllocator.get());
|
| - base::StatisticsRecorder::Initialize();
|
| -
|
| - m_platform = wrapUnique(new DummyPlatform);
|
| - Platform::setCurrentPlatformForTesting(m_platform.get());
|
| -
|
| WTF::Partitions::initialize(nullptr);
|
| - WTF::setTimeFunctionsForTesting(dummyCurrentTime);
|
| WTF::initialize(nullptr);
|
|
|
| - m_compositorSupport = wrapUnique(new cc_blink::WebCompositorSupportImpl);
|
| - m_testingPlatformConfig.compositorSupport = m_compositorSupport.get();
|
| - m_testingPlatformSupport = wrapUnique(new TestingPlatformSupport(m_testingPlatformConfig));
|
| -
|
| ProcessHeap::init();
|
| ThreadState::attachMainThread();
|
| - ThreadState::current()->registerTraceDOMWrappers(nullptr, nullptr, nullptr, nullptr);
|
| - EventTracer::initialize();
|
| - HTTPNames::init();
|
| }
|
|
|
| ScopedUnittestsEnvironmentSetup::~ScopedUnittestsEnvironmentSetup()
|
|
|