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

Unified Diff: cc/test/cc_test_suite.cc

Issue 1144323003: media: Refactor SkCanvasVideoRenderer to use SkImages and not SkBitmaps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/scoped_refptr<VideoFrame>&/VideoFrame*/ where possible. Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/cc_test_suite.h ('k') | media/base/run_all_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/cc_test_suite.cc
diff --git a/cc/test/cc_test_suite.cc b/cc/test/cc_test_suite.cc
index 788c383790f98dfe31de628423c10c1acdfa4933..0fa0b543c52294d8eb37c6d21ccf0cda579a933e 100644
--- a/cc/test/cc_test_suite.cc
+++ b/cc/test/cc_test_suite.cc
@@ -26,6 +26,8 @@ void CCTestSuite::Initialize() {
base::ThreadIdNameManager::GetInstance()->SetName(
base::PlatformThread::CurrentId(),
"Main");
+
+ base::DiscardableMemoryAllocator::SetInstance(&discardable_memory_allocator_);
}
void CCTestSuite::Shutdown() {
« no previous file with comments | « cc/test/cc_test_suite.h ('k') | media/base/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698