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

Unified Diff: gpu/command_buffer/service/context_group_unittest.cc

Issue 1871613002: Compute GpuDriverBugWorkarounds only one time in the GPU process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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
« no previous file with comments | « gpu/command_buffer/service/context_group.cc ('k') | gpu/command_buffer/service/feature_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/context_group_unittest.cc
diff --git a/gpu/command_buffer/service/context_group_unittest.cc b/gpu/command_buffer/service/context_group_unittest.cc
index f343e5e2e5853464ae9fc7d3cd3d6e3fb6e0a33b..bd0fbf932ba653ab33d875268d625e1094c31cb8 100644
--- a/gpu/command_buffer/service/context_group_unittest.cc
+++ b/gpu/command_buffer/service/context_group_unittest.cc
@@ -42,9 +42,10 @@ class ContextGroupTest : public GpuServiceTest {
void SetUp() override {
GpuServiceTest::SetUp();
decoder_.reset(new MockGLES2Decoder());
- group_ = scoped_refptr<ContextGroup>(new ContextGroup(
- gpu_preferences_, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- kBindGeneratesResource));
+ scoped_refptr<FeatureInfo> feature_info = new FeatureInfo;
+ group_ = scoped_refptr<ContextGroup>(
+ new ContextGroup(gpu_preferences_, NULL, NULL, NULL, NULL, feature_info,
+ NULL, NULL, kBindGeneratesResource));
}
GpuPreferences gpu_preferences_;
« no previous file with comments | « gpu/command_buffer/service/context_group.cc ('k') | gpu/command_buffer/service/feature_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698