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

Unified Diff: Source/core/rendering/PaintInfo.h

Issue 802833003: Remove the SVG paint culling optimization (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix test for the moon lander. 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
« no previous file with comments | « Source/core/paint/SVGTextPainter.cpp ('k') | Source/core/rendering/svg/RenderSVGBlock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/PaintInfo.h
diff --git a/Source/core/rendering/PaintInfo.h b/Source/core/rendering/PaintInfo.h
index 8b935ec3e46a27f5cd300413dddd0f1c6a5aef9f..a10c13533f63b651f1beccf84fc9848e76e85c5f 100644
--- a/Source/core/rendering/PaintInfo.h
+++ b/Source/core/rendering/PaintInfo.h
@@ -44,8 +44,6 @@ class RenderLayerModelObject;
class RenderObject;
class RenderPart;
-typedef HashMap<RenderPart*, IntRect> OverlapTestRequestMap;
-
struct PaintInfo {
PaintInfo(GraphicsContext* newContext, const IntRect& newRect, PaintPhase newPhase, PaintBehavior newPaintBehavior,
RenderObject* newPaintingRoot = 0, ListHashSet<RenderInline*>* newOutlineObjects = 0,
@@ -93,14 +91,6 @@ struct PaintInfo {
stateSaver->saveIfNeeded();
context->concatCTM(localToAncestorTransform);
-
- if (rect == LayoutRect::infiniteIntRect())
- return;
-
- if (localToAncestorTransform.isInvertible())
- rect = localToAncestorTransform.inverse().mapRect(rect);
- else
- rect.setSize(IntSize(0, 0));
}
DisplayItem::Type displayItemTypeForClipping() const;
« no previous file with comments | « Source/core/paint/SVGTextPainter.cpp ('k') | Source/core/rendering/svg/RenderSVGBlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698