Index: content/browser/renderer_host/image_transport_factory.cc |
diff --git a/content/browser/renderer_host/image_transport_factory.cc b/content/browser/renderer_host/image_transport_factory.cc |
index 249cb8e612f46a95ca6ee46b82376ded47085805..1e566ac2f1e7d241d09bcf2e36f09a0ee6a4e625 100644 |
--- a/content/browser/renderer_host/image_transport_factory.cc |
+++ b/content/browser/renderer_host/image_transport_factory.cc |
@@ -231,7 +231,8 @@ class CompositorSwapClient |
// Recreating contexts directly from here causes issues, so post a task |
// instead. |
// TODO(piman): Fix the underlying issues. |
- MessageLoop::current()->PostTask(FROM_HERE, |
+ base::MessageLoop::current()->PostTask( |
+ FROM_HERE, |
base::Bind(&CompositorSwapClient::OnLostContext, this->AsWeakPtr())); |
} |
@@ -261,7 +262,7 @@ class BrowserCompositorOutputSurfaceProxy |
arraysize(messages_to_filter), |
base::Bind(&BrowserCompositorOutputSurfaceProxy::OnMessageReceived, |
this), |
- MessageLoop::current()->message_loop_proxy()); |
+ base::MessageLoop::current()->message_loop_proxy()); |
message_handler_set_ = true; |
} |
surface_map_.AddWithID(surface, surface_id); |
@@ -595,7 +596,7 @@ class GpuProcessTransportFactory |
} |
virtual void OnLostContext() OVERRIDE { |
- MessageLoop::current()->PostTask( |
+ base::MessageLoop::current()->PostTask( |
FROM_HERE, |
base::Bind(&GpuProcessTransportFactory::OnLostMainThreadSharedContext, |
factory_->callback_factory_.GetWeakPtr())); |