Index: cc/trees/threaded_channel.cc |
diff --git a/cc/trees/threaded_channel.cc b/cc/trees/threaded_channel.cc |
index 07b17cb571cc5c4798e28737a34323462064f8a2..77e60ffa5bb8b50e4800e642272f3eaa3364b433 100644 |
--- a/cc/trees/threaded_channel.cc |
+++ b/cc/trees/threaded_channel.cc |
@@ -12,6 +12,12 @@ |
namespace cc { |
+scoped_ptr<ThreadedChannel> ThreadedChannel::Create( |
+ ProxyMain* proxy_main, |
+ TaskRunnerProvider* task_runner_provider) { |
+ return make_scoped_ptr(new ThreadedChannel(proxy_main, task_runner_provider)); |
+} |
+ |
ThreadedChannel::ThreadedChannel(ProxyMain* proxy_main, |
TaskRunnerProvider* task_runner_provider) |
: task_runner_provider_(task_runner_provider), |
@@ -272,10 +278,6 @@ void ThreadedChannel::BeginMainFrame( |
base::Passed(&begin_main_frame_state))); |
} |
-ProxyImpl* ThreadedChannel::GetProxyImplForTesting() const { |
- return impl().proxy_impl.get(); |
-} |
- |
scoped_ptr<ProxyImpl> ThreadedChannel::CreateProxyImpl( |
ChannelImpl* channel_impl, |
LayerTreeHost* layer_tree_host, |
@@ -362,10 +364,4 @@ ThreadedChannel::CompositorThreadOnly::CompositorThreadOnly( |
ThreadedChannel::CompositorThreadOnly::~CompositorThreadOnly() {} |
-scoped_ptr<ThreadedChannel> ThreadedChannel::Create( |
- ProxyMain* proxy_main, |
- TaskRunnerProvider* task_runner_provider) { |
- return make_scoped_ptr(new ThreadedChannel(proxy_main, task_runner_provider)); |
-} |
- |
} // namespace cc |