| Index: components/mus/public/cpp/surfaces/surfaces_utils.cc
|
| diff --git a/components/mus/public/cpp/surfaces/surfaces_utils.cc b/components/mus/public/cpp/surfaces/surfaces_utils.cc
|
| index e3a1702f2b93287ec267c68565191d878a1668f5..31f87aa839890297774e9fbdac5b873278102678 100644
|
| --- a/components/mus/public/cpp/surfaces/surfaces_utils.cc
|
| +++ b/components/mus/public/cpp/surfaces/surfaces_utils.cc
|
| @@ -12,7 +12,6 @@
|
|
|
| using mus::mojom::Pass;
|
| using mus::mojom::PassPtr;
|
| -using mus::mojom::RenderPassId;
|
| using mus::mojom::SharedQuadState;
|
| using mus::mojom::SharedQuadStatePtr;
|
|
|
| @@ -33,10 +32,10 @@ SharedQuadStatePtr CreateDefaultSQS(const gfx::Size& size) {
|
|
|
| PassPtr CreateDefaultPass(int id, const gfx::Rect& rect) {
|
| PassPtr pass = Pass::New();
|
| - RenderPassId render_pass_id;
|
| + cc::RenderPassId render_pass_id;
|
| render_pass_id.layer_id = 1;
|
| render_pass_id.index = id;
|
| - pass->id = render_pass_id.Clone();
|
| + pass->id = render_pass_id;
|
| pass->output_rect = Rect::From(rect);
|
| pass->damage_rect = Rect::From(rect);
|
| pass->transform_to_root_target = Transform::From(gfx::Transform());
|
|
|