Index: content/common/gpu/client/gpu_channel_host.h |
diff --git a/content/common/gpu/client/gpu_channel_host.h b/content/common/gpu/client/gpu_channel_host.h |
index fbff47b5b9c2f6a58d74fbd8628703bd55742019..179a4682fffc8140b0602e357810e7eff6d8d941 100644 |
--- a/content/common/gpu/client/gpu_channel_host.h |
+++ b/content/common/gpu/client/gpu_channel_host.h |
@@ -79,8 +79,7 @@ class CONTENT_EXPORT GpuChannelHostFactory { |
public: |
virtual ~GpuChannelHostFactory() {} |
- virtual bool IsMainThread() = 0; |
- virtual base::MessageLoop* GetMainLoop() = 0; |
+ virtual scoped_refptr<base::SingleThreadTaskRunner> GetMainTaskRunner() = 0; |
virtual scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() = 0; |
virtual scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) = 0; |
virtual CreateCommandBufferResult CreateViewCommandBuffer( |