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

Unified Diff: cc/resources/picture_pile.h

Issue 375923005: cc: Explicitly invalidate all dropped recordings on the main thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: invalid-resize: . Created 6 years, 5 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
Index: cc/resources/picture_pile.h
diff --git a/cc/resources/picture_pile.h b/cc/resources/picture_pile.h
index 86ef32f2182be11d9355614504701d6daf406ab7..1cb324ae389c2ddbf89f26223c2048edeea8804d 100644
--- a/cc/resources/picture_pile.h
+++ b/cc/resources/picture_pile.h
@@ -28,11 +28,14 @@ class CC_EXPORT PicturePile : public PicturePileBase {
SkColor background_color,
bool contents_opaque,
bool contents_fill_bounds_completely,
+ const gfx::Rect& layer_bounds_rect,
const gfx::Rect& visible_layer_rect,
int frame_number,
Picture::RecordingMode recording_mode,
RenderingStatsInstrumentation* stats_instrumentation);
+ void SetEmptyBoundsAndExpandInvalidation(Region* invalidation);
+
void set_slow_down_raster_scale_factor(int factor) {
slow_down_raster_scale_factor_for_debug_ = factor;
}

Powered by Google App Engine
This is Rietveld 408576698