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

Unified Diff: cc/test/layer_tree_test.cc

Issue 1336733002: Re-land: cc: Implement shared worker contexts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix LayerTreeHostClientTakeAwayOutputSurface test. Content provider is always destroyed on the clie… Created 5 years, 3 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/test/layer_test_common.cc ('k') | cc/test/test_context_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index c87c36b780ba0f07a8008cf00a459ca8e131013d..e2d19b0f43e0a21763dc69334158430bb4f8f582 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -404,8 +404,8 @@ class LayerTreeHostImplForTesting : public LayerTreeHostImpl {
test_hooks_->DidActivateTreeOnThread(this);
}
- bool InitializeRenderer(scoped_ptr<OutputSurface> output_surface) override {
- bool success = LayerTreeHostImpl::InitializeRenderer(output_surface.Pass());
+ bool InitializeRenderer(OutputSurface* output_surface) override {
+ bool success = LayerTreeHostImpl::InitializeRenderer(output_surface);
test_hooks_->InitializedRendererOnThread(this, success);
return success;
}
« no previous file with comments | « cc/test/layer_test_common.cc ('k') | cc/test/test_context_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698