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

Unified Diff: cc/layers/layer_impl.cc

Issue 958843004: Fix for 424682: Draw correct repaint regions instead of a conservative bounding box (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated PictureLayerImpl::GetInvalidationRegion to calculate intersection of invalidation_ and upda… 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
Index: cc/layers/layer_impl.cc
diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
index 63fd4dc1237d1734e2b3c56331cba4259b00cea2..bebf8f67b0efce4bb11d76fa9eeeedee6dec2f3d 100644
--- a/cc/layers/layer_impl.cc
+++ b/cc/layers/layer_impl.cc
@@ -1590,4 +1590,7 @@ void LayerImpl::SetHasRenderSurface(bool should_have_render_surface) {
render_surface_.reset();
}
+Region LayerImpl::GetInvalidationRegion() { return Region(update_rect_); };
+
+
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698