cc: Remove cc::Thread and cc::ThreadImpl.

These classes are replaced by using base::SingleThreadTaskRunner
directly.

R=piman,jamesr
BUG=251134
Depends on: https://codereview.chromium.org/17362002/

Review URL: https://chromiumcodereview.appspot.com/17114008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207491 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
index 00bd8d1..92b7b68 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -6,7 +6,6 @@
 
 #include "base/auto_reset.h"
 #include "base/debug/trace_event.h"
-#include "cc/base/thread.h"
 #include "cc/output/context_provider.h"
 #include "cc/output/output_surface.h"
 #include "cc/quads/draw_quad.h"
@@ -23,7 +22,7 @@
 }
 
 SingleThreadProxy::SingleThreadProxy(LayerTreeHost* layer_tree_host)
-    : Proxy(scoped_ptr<Thread>()),
+    : Proxy(NULL),
       layer_tree_host_(layer_tree_host),
       created_offscreen_context_provider_(false),
       next_frame_is_newly_committed_frame_(false),
@@ -194,7 +193,7 @@
     scoped_ptr<ResourceUpdateController> update_controller =
         ResourceUpdateController::Create(
             NULL,
-            Proxy::MainThread()->TaskRunner(),
+            Proxy::MainThreadTaskRunner(),
             queue.Pass(),
             layer_tree_host_impl_->resource_provider());
     update_controller->Finalize();