Chromium Code Reviews| Index: Source/core/rendering/svg/SVGRenderSupport.h |
| diff --git a/Source/core/rendering/svg/SVGRenderSupport.h b/Source/core/rendering/svg/SVGRenderSupport.h |
| index fda0412a43aeb3f69096f17c2b9afc71765a67ab..c28e5916193e13ce65eec86d75c4f456947e1a9e 100644 |
| --- a/Source/core/rendering/svg/SVGRenderSupport.h |
| +++ b/Source/core/rendering/svg/SVGRenderSupport.h |
| @@ -50,9 +50,12 @@ public: |
| // Layout resources used by this node. |
| static void layoutResourcesIfNeeded(const RenderObject*); |
| - // Helper function determining wheter overflow is hidden |
| + // Helper function determining whether overflow is hidden. |
| static bool isOverflowHidden(const RenderObject*); |
| + // Returns true if we're currently within the rendering of a clip-path as a mask. |
| + static bool isRenderingMaskImage(const RenderObject&); |
|
pdr.
2014/10/03 17:06:58
(maybe as a followup) Could we rename this to refl
fs
2014/10/06 08:00:12
Yeah. Makes sense. Will do. (Just reused the curre
|
| + |
| // Calculates the paintInvalidationRect in combination with filter, clipper and masker in local coordinates. |
| static void intersectPaintInvalidationRectWithResources(const RenderObject*, FloatRect&); |