Index: gpu/command_buffer/service/context_state.cc |
diff --git a/gpu/command_buffer/service/context_state.cc b/gpu/command_buffer/service/context_state.cc |
index f046872a72ff9887d9bbb89de3b807c46a195c6e..6c929de67f32c79bc75b1bbdefa0f8f9511ec13d 100644 |
--- a/gpu/command_buffer/service/context_state.cc |
+++ b/gpu/command_buffer/service/context_state.cc |
@@ -87,12 +87,14 @@ TextureUnit::TextureUnit() |
TextureUnit::~TextureUnit() { |
} |
-ContextState::ContextState(FeatureInfo* feature_info, Logger* logger) |
+ContextState::ContextState(FeatureInfo* feature_info, |
+ ErrorStateClient* error_state_client, |
+ Logger* logger) |
: active_texture_unit(0), |
pack_reverse_row_order(false), |
fbo_binding_for_scissor_workaround_dirty_(false), |
feature_info_(feature_info), |
- error_state_(ErrorState::Create(logger)) { |
+ error_state_(ErrorState::Create(error_state_client, logger)) { |
Initialize(); |
} |