Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Side by Side Diff: third_party/WebKit/Source/platform/testing/RunAllTests.cpp

Issue 2043033002: Trace ScriptWrappableVisitor.m_markingDeque by oilpan gc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix callers of registerTraceDOMWrappers Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/heap/ThreadState.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 blink::CompositorFactory::initializeDefault(); 90 blink::CompositorFactory::initializeDefault();
91 int result = 0; 91 int result = 0;
92 { 92 {
93 blink::TestingPlatformSupport::Config platformConfig; 93 blink::TestingPlatformSupport::Config platformConfig;
94 cc_blink::WebCompositorSupportImpl compositorSupport; 94 cc_blink::WebCompositorSupportImpl compositorSupport;
95 platformConfig.compositorSupport = &compositorSupport; 95 platformConfig.compositorSupport = &compositorSupport;
96 blink::TestingPlatformSupport platform(platformConfig); 96 blink::TestingPlatformSupport platform(platformConfig);
97 97
98 blink::ProcessHeap::init(); 98 blink::ProcessHeap::init();
99 blink::ThreadState::attachMainThread(); 99 blink::ThreadState::attachMainThread();
100 blink::ThreadState::current()->registerTraceDOMWrappers(nullptr, nullptr ); 100 blink::ThreadState::current()->registerTraceDOMWrappers(nullptr, nullptr , nullptr);
101 blink::EventTracer::initialize(); 101 blink::EventTracer::initialize();
102 blink::HTTPNames::init(); 102 blink::HTTPNames::init();
103 103
104 base::TestSuite testSuite(argc, argv); 104 base::TestSuite testSuite(argc, argv);
105 105
106 mojo::edk::Init(); 106 mojo::edk::Init();
107 base::TestIOThread testIoThread(base::TestIOThread::kAutoStart); 107 base::TestIOThread testIoThread(base::TestIOThread::kAutoStart);
108 WTF::OwnPtr<mojo::edk::test::ScopedIPCSupport> ipcSupport(adoptPtr(new m ojo::edk::test::ScopedIPCSupport(testIoThread.task_runner()))); 108 WTF::OwnPtr<mojo::edk::test::ScopedIPCSupport> ipcSupport(adoptPtr(new m ojo::edk::test::ScopedIPCSupport(testIoThread.task_runner())));
109 result = base::LaunchUnitTests(argc, argv, base::Bind(runTestSuite, base ::Unretained(&testSuite))); 109 result = base::LaunchUnitTests(argc, argv, base::Bind(runTestSuite, base ::Unretained(&testSuite)));
110 110
111 blink::ThreadState::detachMainThread(); 111 blink::ThreadState::detachMainThread();
112 blink::ProcessHeap::shutdown(); 112 blink::ProcessHeap::shutdown();
113 } 113 }
114 blink::CompositorFactory::shutdown(); 114 blink::CompositorFactory::shutdown();
115 WTF::shutdown(); 115 WTF::shutdown();
116 WTF::Partitions::shutdown(); 116 WTF::Partitions::shutdown();
117 return result; 117 return result;
118 } 118 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/heap/ThreadState.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698