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

Unified Diff: content/browser/gpu/gpu_ipc_browsertests.cc

Issue 22293003: Clean up compositor initialization/destruction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanupcompositor: UseRealGLBindings in NetInternalsTest Created 7 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: content/browser/gpu/gpu_ipc_browsertests.cc
diff --git a/content/browser/gpu/gpu_ipc_browsertests.cc b/content/browser/gpu/gpu_ipc_browsertests.cc
index 7b7186cb298543372a1a9811da2ee47c45cfe756..0ee93dba80632a74dc00309f7e2bd63375987beb 100644
--- a/content/browser/gpu/gpu_ipc_browsertests.cc
+++ b/content/browser/gpu/gpu_ipc_browsertests.cc
@@ -26,18 +26,6 @@ class ContextTestBase : public content::ContentBrowserTest {
ContentBrowserTest::SetUpOnMainThread();
}
- virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
- // TODO(Hubbe): This code is very similar to some code in
- // test/gpu/gpu_feature_browsertest.cc, and should really be
- // shared in a common location.
- if (!command_line->HasSwitch(switches::kUseGpuInTests)) {
- CHECK(!command_line->HasSwitch(switches::kUseGL))
- << "kUseGL must not be set by test framework code!";
- command_line->AppendSwitchASCII(switches::kUseGL,
- gfx::kGLImplementationOSMesaName);
- }
- }
-
virtual void TearDownOnMainThread() OVERRIDE {
// Must delete the context first.
context_.reset(NULL);

Powered by Google App Engine
This is Rietveld 408576698