Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1567)

Unified Diff: cc/test/fake_picture_pile_impl.h

Issue 14001009: cc: Add pixel tests for PictureDrawQuad (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixup comment Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/fake_content_layer_client.cc ('k') | cc/test/fake_picture_pile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_picture_pile_impl.h
diff --git a/cc/test/fake_picture_pile_impl.h b/cc/test/fake_picture_pile_impl.h
index 057376d6e51695ca2bdac32fdb2917218160c3e8..bedc6ce0baf841a6bcb24346ccce778ae54a9cd9 100644
--- a/cc/test/fake_picture_pile_impl.h
+++ b/cc/test/fake_picture_pile_impl.h
@@ -24,15 +24,15 @@ class FakePicturePileImpl : public PicturePileImpl {
TilingData& tiling() { return tiling_; }
void AddRecordingAt(int x, int y);
-
void RemoveRecordingAt(int x, int y);
+ void RerecordPile();
void AddPictureToRecording(
int x,
int y,
scoped_refptr<Picture> picture);
- void add_draw_rect(gfx::Rect rect) {
+ void add_draw_rect(const gfx::RectF& rect) {
client_.add_draw_rect(rect, default_paint_);
}
@@ -40,7 +40,7 @@ class FakePicturePileImpl : public PicturePileImpl {
client_.add_draw_bitmap(bitmap, point);
}
- void add_draw_rect_with_paint(gfx::Rect rect, const SkPaint& paint) {
+ void add_draw_rect_with_paint(const gfx::RectF& rect, const SkPaint& paint) {
client_.add_draw_rect(rect, paint);
}
« no previous file with comments | « cc/test/fake_content_layer_client.cc ('k') | cc/test/fake_picture_pile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698