| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "cc/test/fake_delegated_renderer_layer_impl.h" | 5 #include "cc/test/fake_delegated_renderer_layer_impl.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "cc/output/delegated_frame_data.h" | 8 #include "cc/output/delegated_frame_data.h" |
| 9 #include "cc/quads/draw_quad.h" | 9 #include "cc/quads/draw_quad.h" |
| 10 #include "cc/resources/returned_resource.h" | 10 #include "cc/resources/returned_resource.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 TransferableResource resource; | 49 TransferableResource resource; |
| 50 resource.id = resource_id; | 50 resource.id = resource_id; |
| 51 resource.mailbox_holder.texture_target = | 51 resource.mailbox_holder.texture_target = |
| 52 resource_provider->TargetForTesting(resource_id); | 52 resource_provider->TargetForTesting(resource_id); |
| 53 delegated_frame->resource_list.push_back(resource); | 53 delegated_frame->resource_list.push_back(resource); |
| 54 } | 54 } |
| 55 } | 55 } |
| 56 } | 56 } |
| 57 | 57 |
| 58 CreateChildIdIfNeeded(base::Bind(&NoopReturnCallback)); | 58 CreateChildIdIfNeeded(base::Bind(&NoopReturnCallback)); |
| 59 SetFrameData(delegated_frame.get(), gfx::RectF()); | 59 SetFrameData(delegated_frame.get(), gfx::Rect()); |
| 60 } | 60 } |
| 61 } // namespace cc | 61 } // namespace cc |
| OLD | NEW |