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

Unified Diff: components/display_compositor/display_compositor_test_suite.cc

Issue 2873243002: Move components/display_compositor to components/viz/display_compositor (Closed)
Patch Set: Rebase Created 3 years, 7 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: components/display_compositor/display_compositor_test_suite.cc
diff --git a/components/display_compositor/display_compositor_test_suite.cc b/components/display_compositor/display_compositor_test_suite.cc
deleted file mode 100644
index aca51a7f59f237dd9be4436f5826d6fac95a6ca4..0000000000000000000000000000000000000000
--- a/components/display_compositor/display_compositor_test_suite.cc
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/display_compositor/display_compositor_test_suite.h"
-
-#include "base/message_loop/message_loop.h"
-#include "base/threading/thread_id_name_manager.h"
-#include "cc/test/paths.h"
-#include "ui/gl/test/gl_surface_test_support.h"
-
-namespace display_compositor {
-
-DisplayCompositorTestSuite::DisplayCompositorTestSuite(int argc, char** argv)
- : base::TestSuite(argc, argv) {}
-
-DisplayCompositorTestSuite::~DisplayCompositorTestSuite() {}
-
-void DisplayCompositorTestSuite::Initialize() {
- base::TestSuite::Initialize();
- gl::GLSurfaceTestSupport::InitializeOneOff();
- cc::CCPaths::RegisterPathProvider();
-
- message_loop_.reset(new base::MessageLoop);
-
- base::ThreadIdNameManager::GetInstance()->SetName(
- base::PlatformThread::CurrentId(), "Main");
-
- base::DiscardableMemoryAllocator::SetInstance(&discardable_memory_allocator_);
-}
-
-void DisplayCompositorTestSuite::Shutdown() {
- message_loop_ = nullptr;
-
- base::TestSuite::Shutdown();
-}
-
-} // namespace display_compositor
« no previous file with comments | « components/display_compositor/display_compositor_test_suite.h ('k') | components/display_compositor/gl_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698