diff options
Diffstat (limited to 'cc/test/fake_content_layer_client.h')
-rw-r--r-- | cc/test/fake_content_layer_client.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/test/fake_content_layer_client.h b/cc/test/fake_content_layer_client.h index dfc8ce7..ff42855 100644 --- a/cc/test/fake_content_layer_client.h +++ b/cc/test/fake_content_layer_client.h @@ -28,7 +28,7 @@ class FakeContentLayerClient : public cc::ContentLayerClient { void set_paint_all_opaque(bool opaque) { paint_all_opaque_ = opaque; } - void add_draw_rect(gfx::Rect rect, const SkPaint& paint) { + void add_draw_rect(const gfx::RectF& rect, const SkPaint& paint) { draw_rects_.push_back(std::make_pair(rect, paint)); } @@ -37,7 +37,7 @@ class FakeContentLayerClient : public cc::ContentLayerClient { } private: - typedef std::vector<std::pair<gfx::Rect, SkPaint> > RectPaintVector; + typedef std::vector<std::pair<gfx::RectF, SkPaint> > RectPaintVector; typedef std::vector<std::pair<SkBitmap, gfx::Point> > BitmapVector; bool paint_all_opaque_; |