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: gpu/command_buffer/service/program_manager_unittest.cc

Issue 1641623002: Revert of command_buffer: Enable gl path rendering by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: gpu/command_buffer/service/program_manager_unittest.cc
diff --git a/gpu/command_buffer/service/program_manager_unittest.cc b/gpu/command_buffer/service/program_manager_unittest.cc
index d6dca066ba8af8d398895836b1f51f6d24ffd8d7..eafe75ddd11684f93c22b4a370ffa060734e41b8 100644
--- a/gpu/command_buffer/service/program_manager_unittest.cc
+++ b/gpu/command_buffer/service/program_manager_unittest.cc
@@ -2160,7 +2160,11 @@
testing::tuple<const char*, const char*>> {
protected:
void SetUp() override {
- SetUpBase(testing::get<0>(GetParam()), testing::get<1>(GetParam()));
+ base::CommandLine command_line(*base::CommandLine::ForCurrentProcess());
+ command_line.AppendSwitch(switches::kEnableGLPathRendering);
+ FeatureInfo* feature_info = new FeatureInfo(command_line);
+ SetUpBase(testing::get<0>(GetParam()), testing::get<1>(GetParam()),
+ feature_info);
}
static const char* kFragmentInput1Name;
static const char* kFragmentInput2Name;
« no previous file with comments | « gpu/command_buffer/service/gpu_switches.cc ('k') | gpu/command_buffer/tests/gl_chromium_framebuffer_mixed_samples_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698