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

Side by Side Diff: content/test/content_test_suite.cc

Issue 2420083004: Delete SurfaceTexturePeer (Closed)
Patch Set: Fix missed references Created 3 years, 10 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 | « content/renderer/media/android/stream_texture_factory.cc ('k') | gpu/ipc/common/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/test/content_test_suite.h" 5 #include "content/test/content_test_suite.h"
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/base_switches.h" 8 #include "base/base_switches.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 if (!is_child_process) { 88 if (!is_child_process) {
89 gpu::GPUInfo gpu_info; 89 gpu::GPUInfo gpu_info;
90 gpu::CollectBasicGraphicsInfo(&gpu_info); 90 gpu::CollectBasicGraphicsInfo(&gpu_info);
91 gpu::ApplyGpuDriverBugWorkarounds(gpu_info, 91 gpu::ApplyGpuDriverBugWorkarounds(gpu_info,
92 base::CommandLine::ForCurrentProcess()); 92 base::CommandLine::ForCurrentProcess());
93 gl::GLSurfaceTestSupport::InitializeOneOff(); 93 gl::GLSurfaceTestSupport::InitializeOneOff();
94 } 94 }
95 testing::TestEventListeners& listeners = 95 testing::TestEventListeners& listeners =
96 testing::UnitTest::GetInstance()->listeners(); 96 testing::UnitTest::GetInstance()->listeners();
97 listeners.Append(new TestInitializationListener); 97 listeners.Append(new TestInitializationListener);
98 #if defined(OS_ANDROID)
99 content::BrowserMediaPlayerManager::InitSurfaceTexturePeer();
100 #endif
101 } 98 }
102 99
103 } // namespace content 100 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/android/stream_texture_factory.cc ('k') | gpu/ipc/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698