Chromium Code Reviews| Index: cc/draw_properties.h |
| diff --git a/cc/draw_properties.h b/cc/draw_properties.h |
| index 3895ef0720ab675044c7f7f9d63142261ac8e3ed..fe92df88b21bbfa90edf5217b996823e1e4473af 100644 |
| --- a/cc/draw_properties.h |
| +++ b/cc/draw_properties.h |
| @@ -24,6 +24,8 @@ struct CC_EXPORT DrawProperties { |
| , can_use_lcd_text(false) |
| , is_clipped(false) |
| , render_target(0) |
| + , contents_scale_x(1) |
| + , contents_scale_y(1) |
| , num_descendants_that_draw_content(0) |
| { |
| } |
| @@ -75,6 +77,10 @@ struct CC_EXPORT DrawProperties { |
| // state. |
| gfx::Rect clip_rect; |
| + float contents_scale_x; |
|
danakj
2012/12/14 22:58:41
descriptive comment please like the others :)
i w
enne (OOO)
2012/12/14 23:06:01
Done. Sorry I missed that. :)
|
| + float contents_scale_y; |
| + gfx::Size content_bounds; |
| + |
| // Does not include this layer itself, only its children and descendants. |
| int num_descendants_that_draw_content; |
| }; |