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

Unified Diff: gpu/command_buffer/common/unittest_main.cc

Issue 2525483005: Remove SurfaceTextureManager (Closed)
Patch Set: Fix link error Created 4 years 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 | « content/test/content_test_suite.cc ('k') | gpu/ipc/client/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/unittest_main.cc
diff --git a/gpu/command_buffer/common/unittest_main.cc b/gpu/command_buffer/common/unittest_main.cc
index 7fff7931f30e82cefb9b11da6763f85cb4cba0ac..cba4c3e179164431a0a9c932e8c1574735650e1c 100644
--- a/gpu/command_buffer/common/unittest_main.cc
+++ b/gpu/command_buffer/common/unittest_main.cc
@@ -10,10 +10,6 @@
#include "build/build_config.h"
#include "mojo/edk/embedder/embedder.h"
-#if defined(OS_ANDROID)
-#include "gpu/ipc/client/android/in_process_surface_texture_manager.h"
-#endif
-
namespace {
class GpuTestSuite : public base::TestSuite {
@@ -21,9 +17,6 @@ class GpuTestSuite : public base::TestSuite {
GpuTestSuite(int argc, char** argv);
~GpuTestSuite() override;
- protected:
- void Initialize() override;
-
private:
DISALLOW_COPY_AND_ASSIGN(GpuTestSuite);
};
@@ -33,14 +26,6 @@ GpuTestSuite::GpuTestSuite(int argc, char** argv)
GpuTestSuite::~GpuTestSuite() {}
-void GpuTestSuite::Initialize() {
- base::TestSuite::Initialize();
-#if defined(OS_ANDROID)
- gpu::SurfaceTextureManager::SetInstance(
- gpu::InProcessSurfaceTextureManager::GetInstance());
-#endif
-}
-
} // namespace
int main(int argc, char** argv) {
« no previous file with comments | « content/test/content_test_suite.cc ('k') | gpu/ipc/client/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698