Index: cc/test/fake_display_list_recording_source.h |
diff --git a/cc/test/fake_display_list_recording_source.h b/cc/test/fake_display_list_recording_source.h |
index 9a1ce8b781f44036d5519e288e21caff578f260b..d5471a42fc18bbc834e05c4dca1050c8e2b8536c 100644 |
--- a/cc/test/fake_display_list_recording_source.h |
+++ b/cc/test/fake_display_list_recording_source.h |
@@ -62,14 +62,22 @@ class FakeDisplayListRecordingSource : public DisplayListRecordingSource { |
recorded_viewport_, 0, RECORD_NORMALLY); |
} |
- void add_draw_rect(const gfx::RectF& rect) { |
+ void add_draw_rect(const gfx::Rect& rect) { |
client_.add_draw_rect(rect, default_paint_); |
} |
- void add_draw_rect_with_paint(const gfx::RectF& rect, const SkPaint& paint) { |
+ void add_draw_rect_with_paint(const gfx::Rect& rect, const SkPaint& paint) { |
client_.add_draw_rect(rect, paint); |
} |
+ void add_draw_rectf(const gfx::RectF& rect) { |
+ client_.add_draw_rectf(rect, default_paint_); |
+ } |
+ |
+ void add_draw_rectf_with_paint(const gfx::RectF& rect, const SkPaint& paint) { |
+ client_.add_draw_rectf(rect, paint); |
+ } |
+ |
void add_draw_bitmap(const SkBitmap& bitmap, const gfx::Point& point) { |
client_.add_draw_bitmap(bitmap, point, default_paint_); |
} |