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

Unified Diff: cc/trees/threaded_channel.cc

Issue 2158973002: cc: Clean up LayerTreeTest and TestHooks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: proxy-impls: android-build Created 4 years, 5 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
Index: cc/trees/threaded_channel.cc
diff --git a/cc/trees/threaded_channel.cc b/cc/trees/threaded_channel.cc
index 3f18b23cbd2cd71ea75bdb5ac76b663c7cab6b34..b5c510b9482b197c2bfee62a9d5faaf69e5eab49 100644
--- a/cc/trees/threaded_channel.cc
+++ b/cc/trees/threaded_channel.cc
@@ -278,8 +278,9 @@ std::unique_ptr<ProxyImpl> ThreadedChannel::CreateProxyImpl(
TaskRunnerProvider* task_runner_provider,
std::unique_ptr<BeginFrameSource> external_begin_frame_source) {
DCHECK(IsImplThread());
- return ProxyImpl::Create(channel_impl, layer_tree_host, task_runner_provider,
- std::move(external_begin_frame_source));
+ return base::MakeUnique<ProxyImpl>(channel_impl, layer_tree_host,
+ task_runner_provider,
+ std::move(external_begin_frame_source));
}
void ThreadedChannel::InitializeImplOnImpl(

Powered by Google App Engine
This is Rietveld 408576698