Index: gpu/command_buffer/service/context_group.cc |
diff --git a/gpu/command_buffer/service/context_group.cc b/gpu/command_buffer/service/context_group.cc |
index 56f70303af63af2016fb3037a538fbeeea596e6e..001b43c9d4db5e874113a5547e93ed75d3f41d29 100644 |
--- a/gpu/command_buffer/service/context_group.cc |
+++ b/gpu/command_buffer/service/context_group.cc |
@@ -104,14 +104,13 @@ ContextGroup::ContextGroup( |
program_cache_(NULL), |
feature_info_(feature_info) { |
{ |
+ DCHECK(feature_info_); |
if (!mailbox_manager_.get()) |
mailbox_manager_ = new MailboxManagerImpl; |
if (!subscription_ref_set_.get()) |
subscription_ref_set_ = new SubscriptionRefSet(); |
if (!pending_valuebuffer_state_.get()) |
pending_valuebuffer_state_ = new ValueStateMap(); |
- if (!feature_info.get()) |
- feature_info_ = new FeatureInfo; |
transfer_buffer_manager_ = new TransferBufferManager(memory_tracker_.get()); |
} |
} |