Chromium Code Reviews| Index: components/mus/ws/platform_display.cc |
| diff --git a/components/mus/ws/platform_display.cc b/components/mus/ws/platform_display.cc |
| index 55de1b771771917a094d806c94bc8c95d54e09e4..ac3a2962de5398b1a5b073beda9a58a0d1032290 100644 |
| --- a/components/mus/ws/platform_display.cc |
| +++ b/components/mus/ws/platform_display.cc |
| @@ -114,11 +114,12 @@ void DrawWindowTree(cc::RenderPass* pass, |
| const gfx::Rect bounds_at_origin(window->bounds().size()); |
| // TODO(fsamuel): These clipping and visible rects are incorrect. They need |
| // to be populated from CompositorFrame structs. |
| - sqs->SetAll( |
| - quad_to_target_transform, bounds_at_origin.size() /* layer_bounds */, |
| - bounds_at_origin /* visible_layer_bounds */, |
| - bounds_at_origin /* clip_rect */, false /* is_clipped */, |
| - window->opacity(), SkXfermode::kSrc_Mode, 0 /* sorting-context_id */); |
|
sky
2016/04/25 16:00:15
AHA! This must be the random CHECK I randomly see:
|
| + sqs->SetAll(quad_to_target_transform, |
| + bounds_at_origin.size() /* layer_bounds */, |
| + bounds_at_origin /* visible_layer_bounds */, |
| + bounds_at_origin /* clip_rect */, false /* is_clipped */, |
| + window->opacity(), SkXfermode::kSrcOver_Mode, |
| + 0 /* sorting-context_id */); |
| auto quad = pass->CreateAndAppendDrawQuad<cc::SurfaceDrawQuad>(); |
| quad->SetAll(sqs, bounds_at_origin /* rect */, |
| gfx::Rect() /* opaque_rect */, |