Index: content/common/gpu/client/context_provider_command_buffer.cc |
diff --git a/content/common/gpu/client/context_provider_command_buffer.cc b/content/common/gpu/client/context_provider_command_buffer.cc |
index ccbb864cd12fbee1ce423b0949383c22ba4321af..7ef9e73294e8e3b099bb901bf3d10dde02799dc9 100644 |
--- a/content/common/gpu/client/context_provider_command_buffer.cc |
+++ b/content/common/gpu/client/context_provider_command_buffer.cc |
@@ -173,7 +173,7 @@ |
DCHECK(context_thread_checker_.CalledOnValidThread()); |
if (!lost_context_callback_.is_null()) |
- lost_context_callback_.Run(); |
+ base::ResetAndReturn(&lost_context_callback_).Run(); |
if (gr_context_) |
gr_context_->OnLostContext(); |
} |