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

Unified Diff: Source/core/rendering/RenderLayerCompositor.cpp

Issue 16688004: Large canvas does not honor containing div's border radius (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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: Source/core/rendering/RenderLayerCompositor.cpp
diff --git a/Source/core/rendering/RenderLayerCompositor.cpp b/Source/core/rendering/RenderLayerCompositor.cpp
index f472d127bcb8eb2dfaba789a65cf4fab397f1700..8aeeaa229c0d0d2df16904ff0455e33ffd51c417 100644
--- a/Source/core/rendering/RenderLayerCompositor.cpp
+++ b/Source/core/rendering/RenderLayerCompositor.cpp
@@ -2131,6 +2131,9 @@ static void resetTrackedRepaintRectsRecursive(GraphicsLayer* graphicsLayer)
if (GraphicsLayer* maskLayer = graphicsLayer->maskLayer())
resetTrackedRepaintRectsRecursive(maskLayer);
+
+ if (GraphicsLayer* borderRadiusLayer = graphicsLayer->borderRadiusLayer())
+ resetTrackedRepaintRectsRecursive(borderRadiusLayer);
}
void RenderLayerCompositor::resetTrackedRepaintRects()

Powered by Google App Engine
This is Rietveld 408576698