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

Unified Diff: cc/test/fake_content_layer_client.cc

Issue 900043002: Modify rasterize_and_record for DisplayItemList recording. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing include that android doesn't handle Created 5 years, 10 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.h ('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_content_layer_client.cc
diff --git a/cc/test/fake_content_layer_client.cc b/cc/test/fake_content_layer_client.cc
index 46d1baa836477179cda3e2ba474c1a276af277a6..23b73f5f18a7fbc7d0921425d219a62d5fae04de 100644
--- a/cc/test/fake_content_layer_client.cc
+++ b/cc/test/fake_content_layer_client.cc
@@ -22,9 +22,9 @@ FakeContentLayerClient::~FakeContentLayerClient() {
void FakeContentLayerClient::PaintContents(
SkCanvas* canvas,
const gfx::Rect& paint_rect,
- ContentLayerClient::GraphicsContextStatus gc_status) {
+ PaintingControlSetting painting_control) {
last_canvas_ = canvas;
- last_context_status_ = gc_status;
+ last_painting_control_ = painting_control;
canvas->clipRect(gfx::RectToSkRect(paint_rect));
for (RectPaintVector::const_iterator it = draw_rects_.begin();
@@ -58,7 +58,7 @@ void FakeContentLayerClient::PaintContents(
scoped_refptr<DisplayItemList>
FakeContentLayerClient::PaintContentsToDisplayList(
const gfx::Rect& clip,
- GraphicsContextStatus gc_status) {
+ PaintingControlSetting painting_control) {
SkPictureRecorder recorder;
skia::RefPtr<SkCanvas> canvas;
skia::RefPtr<SkPicture> picture;
« no previous file with comments | « cc/test/fake_content_layer_client.h ('k') | cc/test/fake_picture_pile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698