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

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: Update syncpoint a the end of Paint. 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
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() {

Powered by Google App Engine
This is Rietveld 408576698