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

Unified Diff: cc/playback/raster_source_helper.cc

Issue 1146813012: cc: Add tests for DisplayListRasterSource. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: displaytest: removescaletest Created 5 years, 7 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/playback/display_list_recording_source_unittest.cc ('k') | cc/playback/recording_source_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/raster_source_helper.cc
diff --git a/cc/playback/raster_source_helper.cc b/cc/playback/raster_source_helper.cc
index 6d00f5f2e87e8c5ddaebdecf320edccb09668b6f..57f9d01e0773fb6caa9ec5bdefd72786f4851bfe 100644
--- a/cc/playback/raster_source_helper.cc
+++ b/cc/playback/raster_source_helper.cc
@@ -88,6 +88,8 @@ void RasterSourceHelper::PrepareForPlaybackToCanvas(
canvas->translate(-canvas_bitmap_rect.x(), -canvas_bitmap_rect.y());
gfx::Rect inflated_content_rect = content_rect;
inflated_content_rect.Inset(0, 0, -1, -1);
+ LOG(ERROR) << content_rect.ToString();
vmpstr 2015/06/03 18:31:20 Remove please.
danakj 2015/06/03 18:40:57 Done.
+ LOG(ERROR) << inflated_content_rect.ToString();
canvas->clipRect(gfx::RectToSkRect(inflated_content_rect),
SkRegion::kReplace_Op);
canvas->clipRect(gfx::RectToSkRect(deflated_content_rect),
« no previous file with comments | « cc/playback/display_list_recording_source_unittest.cc ('k') | cc/playback/recording_source_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698