Index: webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc |
diff --git a/webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc b/webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc |
index 947a515aaffef9d4ad6314f4e184cdfdc4572eb8..894955012acf56b7d71db33734c5a6e1b8cb7900 100644 |
--- a/webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc |
+++ b/webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc |
@@ -43,8 +43,11 @@ GrContextForWebGraphicsContext3D::GrContextForWebGraphicsContext3D( |
} |
GrContextForWebGraphicsContext3D::~GrContextForWebGraphicsContext3D() { |
+} |
+ |
+void GrContextForWebGraphicsContext3D::OnLostContext() { |
if (gr_context_) |
- gr_context_->contextDestroyed(); |
+ gr_context_->contextLost(); |
} |
void GrContextForWebGraphicsContext3D::SetMemoryLimit(bool nonzero_allocation) { |