| Index: cc/output/overlay_candidate.h
|
| diff --git a/cc/output/overlay_candidate.h b/cc/output/overlay_candidate.h
|
| index 28ae8cb73d35897979db66e61e3ac5bd720069a8..c6bb22a4890d7ad946b249d1442b021be28b6d16 100644
|
| --- a/cc/output/overlay_candidate.h
|
| +++ b/cc/output/overlay_candidate.h
|
| @@ -24,8 +24,8 @@ class CC_EXPORT OverlayCandidate {
|
| // or OVERLAY_TRANSFORM_INVALID.
|
| static gfx::OverlayTransform ModifyTransform(gfx::OverlayTransform in,
|
| gfx::OverlayTransform delta);
|
| - static gfx::Rect GetOverlayRect(const gfx::Transform& quad_transform,
|
| - const gfx::Rect& rect);
|
| + static gfx::RectF GetOverlayRect(const gfx::Transform& quad_transform,
|
| + const gfx::Rect& rect);
|
|
|
| OverlayCandidate();
|
| ~OverlayCandidate();
|
| @@ -34,8 +34,9 @@ class CC_EXPORT OverlayCandidate {
|
| gfx::OverlayTransform transform;
|
| // Format of the buffer to composite.
|
| ResourceFormat format;
|
| - // Rect on the display to position the overlay to.
|
| - gfx::Rect display_rect;
|
| + // Rect on the display to position the overlay to. Implementer must convert
|
| + // to integer coordinates if setting |overlay_handled| to true.
|
| + gfx::RectF display_rect;
|
| // Crop within the buffer to be placed inside |display_rect|.
|
| gfx::RectF uv_rect;
|
| // Texture resource to present in an overlay.
|
|
|