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

Unified Diff: cc/resources/skpicture_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
« cc/layers/tiled_layer.cc ('K') | « cc/resources/skpicture_content_layer_updater.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/skpicture_content_layer_updater.cc
diff --git a/cc/resources/skpicture_content_layer_updater.cc b/cc/resources/skpicture_content_layer_updater.cc
index f1cf45439a70bcb5ed22ff496e116349243ae242..5dd68366af305647d60c4984a81914e3bcde3383 100644
--- a/cc/resources/skpicture_content_layer_updater.cc
+++ b/cc/resources/skpicture_content_layer_updater.cc
@@ -23,6 +23,7 @@ SkPictureContentLayerUpdater::~SkPictureContentLayerUpdater() {}
void SkPictureContentLayerUpdater::PrepareToUpdate(
gfx::Rect content_rect,
+ gfx::Rect paint_rect,
gfx::Size,
float contents_width_scale,
float contents_height_scale,
@@ -33,6 +34,7 @@ void SkPictureContentLayerUpdater::PrepareToUpdate(
rendering_stats_instrumentation_->StartRecording();
PaintContents(canvas,
content_rect,
+ paint_rect,
contents_width_scale,
contents_height_scale,
resulting_opaque_rect);
« cc/layers/tiled_layer.cc ('K') | « cc/resources/skpicture_content_layer_updater.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698