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

Unified Diff: Source/core/layout/svg/LayoutSVGModelObject.h

Issue 1321613002: Refactor ObjectPainter::paintOutline to take a paintOffset (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove ObjectPainter::outlineRectForSVG Created 5 years, 4 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
« no previous file with comments | « no previous file | Source/core/layout/svg/LayoutSVGModelObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGModelObject.h
diff --git a/Source/core/layout/svg/LayoutSVGModelObject.h b/Source/core/layout/svg/LayoutSVGModelObject.h
index 674251e6660b2246ee3d7817f913cc3f7e1411eb..ed9de75a0ab3f464a166c840a60b7d4dc3968525 100644
--- a/Source/core/layout/svg/LayoutSVGModelObject.h
+++ b/Source/core/layout/svg/LayoutSVGModelObject.h
@@ -64,6 +64,10 @@ public:
bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVG || LayoutObject::isOfType(type); }
+ // TODO(pdr): The outline extent should be included in paintInvalidationRectInLocalCoordinates.
+ // Returns the paint invalidation size inflated for the outline extent.
+ LayoutRect outlineVisualOverflowRect() const;
+
protected:
void addLayerHitTestRects(LayerHitTestRects&, const DeprecatedPaintLayer* currentCompositedLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) const final;
void willBeDestroyed() override;
« no previous file with comments | « no previous file | Source/core/layout/svg/LayoutSVGModelObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698