| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "surfaces/public/cpp/surfaces_utils.h" | 5 #include "surfaces/public/cpp/surfaces_utils.h" |
| 6 | 6 |
| 7 #include "geometry/public/interfaces/geometry.mojom.h" | 7 #include "geometry/public/interfaces/geometry.mojom.h" |
| 8 | 8 |
| 9 namespace mojo { | 9 namespace mojo { |
| 10 | 10 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 PassPtr pass = Pass::New(); | 40 PassPtr pass = Pass::New(); |
| 41 pass->id = id; | 41 pass->id = id; |
| 42 pass->output_rect = rect.Clone(); | 42 pass->output_rect = rect.Clone(); |
| 43 pass->damage_rect = rect.Clone(); | 43 pass->damage_rect = rect.Clone(); |
| 44 pass->transform_to_root_target = GetIdentityTransform(); | 44 pass->transform_to_root_target = GetIdentityTransform(); |
| 45 pass->has_transparent_background = false; | 45 pass->has_transparent_background = false; |
| 46 return pass.Pass(); | 46 return pass.Pass(); |
| 47 } | 47 } |
| 48 | 48 |
| 49 } // namespace mojo | 49 } // namespace mojo |
| OLD | NEW |