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

Unified Diff: cc/resources/caching_bitmap_content_layer_updater.cc

Issue 85143002: Dirty rects always contain full tiles with delegated rendering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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
Index: cc/resources/caching_bitmap_content_layer_updater.cc
diff --git a/cc/resources/caching_bitmap_content_layer_updater.cc b/cc/resources/caching_bitmap_content_layer_updater.cc
index f6edb40ccdf5ef13c41ddbe133d8043933fdcf8d..6a170c534306b4fc522a60797d3dac59e1d808ad 100644
--- a/cc/resources/caching_bitmap_content_layer_updater.cc
+++ b/cc/resources/caching_bitmap_content_layer_updater.cc
@@ -34,11 +34,13 @@ CachingBitmapContentLayerUpdater::~CachingBitmapContentLayerUpdater() {}
void CachingBitmapContentLayerUpdater::PrepareToUpdate(
gfx::Rect content_rect,
+ gfx::Rect paint_rect,
gfx::Size tile_size,
float contents_width_scale,
float contents_height_scale,
gfx::Rect* resulting_opaque_rect) {
BitmapContentLayerUpdater::PrepareToUpdate(content_rect,
+ paint_rect,
tile_size,
contents_width_scale,
contents_height_scale,

Powered by Google App Engine
This is Rietveld 408576698