Index: webkit/plugins/ppapi/ppb_surface_3d_impl.cc |
diff --git a/webkit/plugins/ppapi/ppb_surface_3d_impl.cc b/webkit/plugins/ppapi/ppb_surface_3d_impl.cc |
index 6002c1e5ecc9832d778375ac600e99ebe440b5e7..e7f81c82d70265243fae69090b0877780aa72ee3 100644 |
--- a/webkit/plugins/ppapi/ppb_surface_3d_impl.cc |
+++ b/webkit/plugins/ppapi/ppb_surface_3d_impl.cc |
@@ -170,8 +170,8 @@ void PPB_Surface3D_Impl::OnContextLost() { |
// Send context lost to plugin. This may have been caused by a PPAPI call, so |
// avoid re-entering. |
- MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod( |
- this, &PPB_Surface3D_Impl::SendContextLost)); |
+ MessageLoop::current()->PostTask( |
+ FROM_HERE, base::Bind(&PPB_Surface3D_Impl::SendContextLost, this)); |
} |
void PPB_Surface3D_Impl::SendContextLost() { |