Index: gpu/command_buffer/client/share_group.h |
diff --git a/gpu/command_buffer/client/share_group.h b/gpu/command_buffer/client/share_group.h |
index 091b69f2385034d354e2f5946dcecabc67d4d2a2..015e455f9bd141e174fbf765a05a4570190d958f 100644 |
--- a/gpu/command_buffer/client/share_group.h |
+++ b/gpu/command_buffer/client/share_group.h |
@@ -47,7 +47,7 @@ class ShareGroupContextData { |
} |
private: |
- IdHandlerData id_handler_data_[id_namespaces::kNumIdNamespaces]; |
+ IdHandlerData id_handler_data_[id_namespaces::kNumSharedIdNamespaces]; |
}; |
// Base class for IdHandlers |
@@ -137,7 +137,7 @@ class GLES2_IMPL_EXPORT ShareGroup |
} |
void FreeContext(GLES2Implementation* gl_impl) { |
- for (int i = 0; i < id_namespaces::kNumIdNamespaces; ++i) { |
+ for (int i = 0; i < id_namespaces::kNumSharedIdNamespaces; ++i) { |
id_handlers_[i]->FreeContext(gl_impl); |
} |
for (auto& range_id_handler : range_id_handlers_) { |
@@ -163,7 +163,7 @@ class GLES2_IMPL_EXPORT ShareGroup |
void SetProgramInfoManagerForTesting(ProgramInfoManager* manager); |
std::unique_ptr<IdHandlerInterface> |
- id_handlers_[id_namespaces::kNumIdNamespaces]; |
+ id_handlers_[id_namespaces::kNumSharedIdNamespaces]; |
std::unique_ptr<RangeIdHandlerInterface> |
range_id_handlers_[id_namespaces::kNumRangeIdNamespaces]; |
std::unique_ptr<ProgramInfoManager> program_info_manager_; |