| Index: mojo/converters/surfaces/surfaces_utils.cc
|
| diff --git a/mojo/converters/surfaces/surfaces_utils.cc b/mojo/converters/surfaces/surfaces_utils.cc
|
| index 7853863a31cc5337e4a6f9d76f8175a22c5a6fa8..b433722aa406248d8b5b6a315b4e5b489f2c83c7 100644
|
| --- a/mojo/converters/surfaces/surfaces_utils.cc
|
| +++ b/mojo/converters/surfaces/surfaces_utils.cc
|
| @@ -27,7 +27,10 @@ SharedQuadStatePtr CreateDefaultSQS(const gfx::Size& size) {
|
|
|
| PassPtr CreateDefaultPass(int id, const gfx::Rect& rect) {
|
| PassPtr pass = Pass::New();
|
| - pass->id = id;
|
| + RenderPassId render_pass_id;
|
| + render_pass_id.layer_id = 1;
|
| + render_pass_id.index = id;
|
| + pass->id = render_pass_id.Clone();
|
| pass->output_rect = Rect::From(rect);
|
| pass->damage_rect = Rect::From(rect);
|
| pass->transform_to_root_target = Transform::From(gfx::Transform());
|
|
|