| Index: third_party/WebKit/Source/platform/testing/RunAllTests.cpp
|
| diff --git a/third_party/WebKit/Source/platform/testing/RunAllTests.cpp b/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
|
| index 15791e547834e88d1d8e6b46e4d4c178461f709c..a632580b366aae65e2e6e437321baf145ac810f4 100644
|
| --- a/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
|
| +++ b/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
|
| @@ -28,6 +28,8 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| +#include "base/memory/discardable_memory_allocator.h"
|
| +#include "base/test/test_discardable_memory_allocator.h"
|
| #include "base/test/test_io_thread.h"
|
| #include "mojo/edk/embedder/embedder.h"
|
| #include "mojo/edk/test/scoped_ipc_support.h"
|
| @@ -74,6 +76,9 @@ int main(int argc, char** argv)
|
| {
|
| base::CommandLine::Init(argc, argv);
|
|
|
| + base::TestDiscardableMemoryAllocator discardableMemoryAllocator;
|
| + base::DiscardableMemoryAllocator::SetInstance(&discardableMemoryAllocator);
|
| +
|
| OwnPtr<DummyPlatform> platform = adoptPtr(new DummyPlatform);
|
| blink::Platform::setCurrentPlatformForTesting(platform.get());
|
|
|
|
|