content/renderer: Remove use of MessageLoopProxy and deprecated MessageLoop APIs

This patch was mostly autogenerated with
https://codereview.chromium.org/1010073002/.

BUG=465354

Review URL: https://codereview.chromium.org/1144023007

Cr-Commit-Position: refs/heads/master@{#331576}
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index 7231634..68b9df6 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -47,7 +47,6 @@
 }
 
 namespace base {
-class MessageLoopProxy;
 class SingleThreadTaskRunner;
 class Thread;
 }
@@ -244,8 +243,8 @@
   }
 
   // Will be null if threaded compositing has not been enabled.
-  scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy() const {
-    return compositor_message_loop_proxy_;
+  scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner() const {
+    return compositor_task_runner_;
   }
 
   AppCacheDispatcher* appcache_dispatcher() const {
@@ -309,10 +308,10 @@
   // has been lost.
   GpuChannelHost* GetGpuChannel();
 
-  // Returns a MessageLoopProxy instance corresponding to the message loop
+  // Returns a SingleThreadTaskRunner instance corresponding to the message loop
   // of the thread on which file operations should be run. Must be called
   // on the renderer's main thread.
-  scoped_refptr<base::MessageLoopProxy> GetFileThreadMessageLoopProxy();
+  scoped_refptr<base::SingleThreadTaskRunner> GetFileThreadMessageLoopProxy();
 
   // Returns a SingleThreadTaskRunner instance corresponding to the message loop
   // of the thread on which media operations should be run. Must be called
@@ -560,9 +559,9 @@
   // Thread for running multimedia operations (e.g., video decoding).
   scoped_ptr<base::Thread> media_thread_;
 
-  // Will point to appropriate MessageLoopProxy after initialization,
+  // Will point to appropriate task runner after initialization,
   // regardless of whether |compositor_thread_| is overriden.
-  scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy_;
+  scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_;
 
   // Threads used by compositor for rasterization.
   ScopedVector<base::SimpleThread> compositor_raster_threads_;