Index: webkit/common/gpu/context_provider_in_process.cc |
diff --git a/webkit/common/gpu/context_provider_in_process.cc b/webkit/common/gpu/context_provider_in_process.cc |
index e9d25584b09ae97ca194017dab3a3774731f4c5e..d71d6fa7ab18e64b804207538f748c69d92507a7 100644 |
--- a/webkit/common/gpu/context_provider_in_process.cc |
+++ b/webkit/common/gpu/context_provider_in_process.cc |
@@ -174,6 +174,8 @@ void ContextProviderInProcess::OnLostContext() { |
} |
if (!lost_context_callback_.is_null()) |
base::ResetAndReturn(&lost_context_callback_).Run(); |
+ if (gr_context_) |
+ gr_context_->OnLostContext(); |
} |
bool ContextProviderInProcess::DestroyedOnMainThread() { |