Index: gpu/command_buffer/client/gles2_implementation.cc |
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc |
index de46cf4a5b32b44cbdf53303266ddbeec22d91c8..9350d31a50812f1ae4093c0992735cdcdbca0d10 100644 |
--- a/gpu/command_buffer/client/gles2_implementation.cc |
+++ b/gpu/command_buffer/client/gles2_implementation.cc |
@@ -4653,17 +4653,6 @@ void GLES2Implementation::RequestExtensionCHROMIUM(const char* extension) { |
} |
} |
-void GLES2Implementation::RateLimitOffscreenContextCHROMIUM() { |
- GPU_CLIENT_SINGLE_THREAD_CHECK(); |
- GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glRateLimitOffscreenCHROMIUM()"); |
- // Wait if this would add too many rate limit tokens. |
- if (rate_limit_tokens_.size() == kMaxSwapBuffers) { |
- helper_->WaitForToken(rate_limit_tokens_.front()); |
- rate_limit_tokens_.pop(); |
- } |
- rate_limit_tokens_.push(helper_->InsertToken()); |
-} |
- |
void GLES2Implementation::GetProgramInfoCHROMIUMHelper( |
GLuint program, std::vector<int8>* result) { |
DCHECK(result); |