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

Unified Diff: Source/core/rendering/svg/RenderSVGBlock.cpp

Issue 802833003: Remove the SVG paint culling optimization (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove spurious lines Created 6 years 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/svg/RenderSVGBlock.cpp
diff --git a/Source/core/rendering/svg/RenderSVGBlock.cpp b/Source/core/rendering/svg/RenderSVGBlock.cpp
index a3dc5c9d07b3722ad48f2003efcd85788a24a8b3..cdd5ce07ba180412839d57a24a2a6166fddbace4 100644
--- a/Source/core/rendering/svg/RenderSVGBlock.cpp
+++ b/Source/core/rendering/svg/RenderSVGBlock.cpp
@@ -126,6 +126,9 @@ void RenderSVGBlock::invalidateTreeIfNeeded(const PaintInvalidationState& paintI
if (!shouldCheckForPaintInvalidation(paintInvalidationState))
return;
+ if (paintInvalidationState.cachedOffsetsEnabled())
+ m_cachedPaintInvalidationTransform = paintInvalidationState.svgTransform();
fs 2014/12/17 10:16:10 I think you need an else-branch here which calls t
pdr. 2014/12/18 22:22:41 Took a while to create a testcase but you were abs
+
ForceHorriblySlowRectMapping slowRectMapping(&paintInvalidationState);
RenderBlockFlow::invalidateTreeIfNeeded(paintInvalidationState);
}

Powered by Google App Engine
This is Rietveld 408576698