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

Unified Diff: cc/output/renderer_pixeltest.cc

Issue 1045953002: Implement DisplayList GatherPixelRefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix crash w/ unittest Created 5 years, 9 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/layers/picture_layer.cc ('k') | cc/resources/display_item_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/renderer_pixeltest.cc
diff --git a/cc/output/renderer_pixeltest.cc b/cc/output/renderer_pixeltest.cc
index 19bc68228b7f73302c3229d0e5652ce22b25c8c3..bfad4ba0c1e9d45e49035ebd938d205376499c8f 100644
--- a/cc/output/renderer_pixeltest.cc
+++ b/cc/output/renderer_pixeltest.cc
@@ -761,7 +761,7 @@ TYPED_TEST(IntersectingQuadSoftwareTest, PictureQuads) {
this->quad_rect_.size());
blue_recording->add_draw_rect_with_paint(outer_rect, black_paint);
blue_recording->add_draw_rect_with_paint(inner_rect, blue_paint);
- blue_recording->RerecordPile();
+ blue_recording->Rerecord();
scoped_refptr<FakePicturePileImpl> blue_pile =
FakePicturePileImpl::CreateFromPile(blue_recording.get(), nullptr);
@@ -777,7 +777,7 @@ TYPED_TEST(IntersectingQuadSoftwareTest, PictureQuads) {
this->quad_rect_.size());
green_recording->add_draw_rect_with_paint(outer_rect, green_paint);
green_recording->add_draw_rect_with_paint(inner_rect, black_paint);
- green_recording->RerecordPile();
+ green_recording->Rerecord();
scoped_refptr<FakePicturePileImpl> green_pile =
FakePicturePileImpl::CreateFromPile(green_recording.get(), nullptr);
@@ -2195,7 +2195,7 @@ TYPED_TEST(SoftwareRendererPixelTest, PictureDrawQuadIdentityScale) {
SkPaint blue_paint;
blue_paint.setColor(SK_ColorBLUE);
blue_recording->add_draw_rect_with_paint(blue_clip_rect, blue_paint);
- blue_recording->RerecordPile();
+ blue_recording->Rerecord();
scoped_refptr<FakePicturePileImpl> blue_pile =
FakePicturePileImpl::CreateFromPile(blue_recording.get(), nullptr);
@@ -2225,7 +2225,7 @@ TYPED_TEST(SoftwareRendererPixelTest, PictureDrawQuadIdentityScale) {
SkPaint green_paint;
green_paint.setColor(SK_ColorGREEN);
green_recording->add_draw_rect_with_paint(viewport, green_paint);
- green_recording->RerecordPile();
+ green_recording->Rerecord();
scoped_refptr<FakePicturePileImpl> green_pile =
FakePicturePileImpl::CreateFromPile(green_recording.get(), nullptr);
@@ -2267,7 +2267,7 @@ TYPED_TEST(SoftwareRendererPixelTest, PictureDrawQuadOpacity) {
SkPaint green_paint;
green_paint.setColor(SK_ColorGREEN);
green_recording->add_draw_rect_with_paint(viewport, green_paint);
- green_recording->RerecordPile();
+ green_recording->Rerecord();
scoped_refptr<FakePicturePileImpl> green_pile =
FakePicturePileImpl::CreateFromPile(green_recording.get(), nullptr);
@@ -2288,7 +2288,7 @@ TYPED_TEST(SoftwareRendererPixelTest, PictureDrawQuadOpacity) {
SkPaint white_paint;
white_paint.setColor(SK_ColorWHITE);
white_recording->add_draw_rect_with_paint(viewport, white_paint);
- white_recording->RerecordPile();
+ white_recording->Rerecord();
scoped_refptr<FakePicturePileImpl> white_pile =
FakePicturePileImpl::CreateFromPile(white_recording.get(), nullptr);
@@ -2359,7 +2359,7 @@ TYPED_TEST(SoftwareRendererPixelTest, PictureDrawQuadDisableImageFiltering) {
SkPaint paint;
paint.setFilterQuality(kLow_SkFilterQuality);
recording->add_draw_bitmap_with_paint(bitmap, gfx::Point(), paint);
- recording->RerecordPile();
+ recording->Rerecord();
scoped_refptr<FakePicturePileImpl> pile =
FakePicturePileImpl::CreateFromPile(recording.get(), nullptr);
@@ -2411,7 +2411,7 @@ TYPED_TEST(SoftwareRendererPixelTest, PictureDrawQuadNearestNeighbor) {
SkPaint paint;
paint.setFilterQuality(kLow_SkFilterQuality);
recording->add_draw_bitmap_with_paint(bitmap, gfx::Point(), paint);
- recording->RerecordPile();
+ recording->Rerecord();
scoped_refptr<FakePicturePileImpl> pile =
FakePicturePileImpl::CreateFromPile(recording.get(), nullptr);
@@ -2515,7 +2515,7 @@ TYPED_TEST(SoftwareRendererPixelTest, PictureDrawQuadNonIdentityScale) {
green_paint.setColor(SK_ColorGREEN);
green_recording->add_draw_rect_with_paint(green_rect1, green_paint);
green_recording->add_draw_rect_with_paint(green_rect2, green_paint);
- green_recording->RerecordPile();
+ green_recording->Rerecord();
scoped_refptr<FakePicturePileImpl> green_pile =
FakePicturePileImpl::CreateFromPile(green_recording.get(), nullptr);
@@ -2585,7 +2585,7 @@ TYPED_TEST(SoftwareRendererPixelTest, PictureDrawQuadNonIdentityScale) {
blue_paint.setColor(SK_ColorBLUE);
recording->add_draw_rect_with_paint(blue_layer_rect1, blue_paint);
recording->add_draw_rect_with_paint(blue_layer_rect2, blue_paint);
- recording->RerecordPile();
+ recording->Rerecord();
scoped_refptr<FakePicturePileImpl> pile =
FakePicturePileImpl::CreateFromPile(recording.get(), nullptr);
« no previous file with comments | « cc/layers/picture_layer.cc ('k') | cc/resources/display_item_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698