Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3000)

Unified Diff: cc/trees/threaded_channel.cc

Issue 1513643010: cc:: Add remote mode to the compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed vmpstr's comments. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/threaded_channel.h ('k') | ui/android/resources/resource_manager_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « cc/trees/threaded_channel.h ('k') | ui/android/resources/resource_manager_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698