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

Unified Diff: Source/core/rendering/svg/SVGRenderSupport.h

Issue 625933003: Consolidated checks for the PaintBehaviorRenderingSVGMask flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | « Source/core/rendering/svg/SVGInlineTextBox.cpp ('k') | Source/core/rendering/svg/SVGRenderSupport.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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&);
« no previous file with comments | « Source/core/rendering/svg/SVGInlineTextBox.cpp ('k') | Source/core/rendering/svg/SVGRenderSupport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698