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

Unified Diff: cc/layers/picture_layer_unittest.cc

Issue 2340143002: cc: Rename LayerTreeHost to LayerTreeHostInProcess. (Closed)
Patch Set: comment fix Created 4 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/layers/picture_layer.cc ('k') | cc/layers/scrollbar_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_unittest.cc
diff --git a/cc/layers/picture_layer_unittest.cc b/cc/layers/picture_layer_unittest.cc
index a9188b25be16efa60f284cc7c4105fcf2a6216f0..1cb360c7b0c1640da85f10bc83b88aa9b6161588 100644
--- a/cc/layers/picture_layer_unittest.cc
+++ b/cc/layers/picture_layer_unittest.cc
@@ -67,7 +67,7 @@ class TestSerializationPictureLayer : public PictureLayer {
void ValidateSerialization(
ImageSerializationProcessor* image_serialization_processor,
- LayerTreeHost* host) {
+ LayerTreeHostInProcess* host) {
std::vector<uint32_t> engine_picture_ids = GetPictureIds();
proto::LayerProperties proto;
LayerSpecificPropertiesToProto(&proto);
@@ -497,7 +497,7 @@ TEST(PictureLayerTest, NonMonotonicSourceFrameNumber) {
ContentLayerClient* client = EmptyContentLayerClient::GetInstance();
scoped_refptr<FakePictureLayer> layer = FakePictureLayer::Create(client);
- LayerTreeHost::InitParams params;
+ LayerTreeHostInProcess::InitParams params;
params.client = &host_client1;
params.shared_bitmap_manager = &shared_bitmap_manager;
params.settings = &settings;
@@ -505,12 +505,13 @@ TEST(PictureLayerTest, NonMonotonicSourceFrameNumber) {
params.main_task_runner = base::ThreadTaskRunnerHandle::Get();
params.animation_host = AnimationHost::CreateForTesting(ThreadInstance::MAIN);
std::unique_ptr<LayerTreeHost> host1 =
- LayerTreeHost::CreateSingleThreaded(&single_thread_client, &params);
+ LayerTreeHostInProcess::CreateSingleThreaded(&single_thread_client,
+ &params);
host1->SetVisible(true);
host_client1.SetLayerTreeHost(host1.get());
// TODO(sad): InitParams will be movable.
- LayerTreeHost::InitParams params2;
+ LayerTreeHostInProcess::InitParams params2;
params2.client = &host_client1;
params2.shared_bitmap_manager = &shared_bitmap_manager;
params2.settings = &settings;
@@ -520,7 +521,8 @@ TEST(PictureLayerTest, NonMonotonicSourceFrameNumber) {
params2.animation_host =
AnimationHost::CreateForTesting(ThreadInstance::MAIN);
std::unique_ptr<LayerTreeHost> host2 =
- LayerTreeHost::CreateSingleThreaded(&single_thread_client, &params2);
+ LayerTreeHostInProcess::CreateSingleThreaded(&single_thread_client,
+ &params2);
host2->SetVisible(true);
host_client2.SetLayerTreeHost(host2.get());
« no previous file with comments | « cc/layers/picture_layer.cc ('k') | cc/layers/scrollbar_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698