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

Unified Diff: Source/core/dom/Node.h

Issue 423823004: Add support for SVG Clip paths in HTML (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Changed LayoutTests and Aligned with review comments Created 6 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
Index: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index c73d7bf8443d469dd740a80da94765c9c5b94bc7..652d2db52225d9cb397ef36e5e213d7e6c9f93bb 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -381,9 +381,18 @@ public:
void recalcDistribution();
- bool svgFilterNeedsLayerUpdate() const { return getFlag(SVGFilterNeedsLayerUpdateFlag); }
- void setSVGFilterNeedsLayerUpdate() { setFlag(SVGFilterNeedsLayerUpdateFlag); }
- void clearSVGFilterNeedsLayerUpdate() { clearFlag(SVGFilterNeedsLayerUpdateFlag); }
+ bool svgEffectsNeedLayerUpdate() const
+ {
+ return getFlag(SVGEffectsNeedLayerUpdateFlag);
+ }
+ void setSVGEffectsNeedLayerUpdate()
+ {
+ setFlag(SVGEffectsNeedLayerUpdateFlag);
+ }
+ void clearSVGEffectsNeedLayerUpdate()
+ {
+ clearFlag(SVGEffectsNeedLayerUpdateFlag);
+ }
void setIsLink(bool f);
@@ -707,17 +716,15 @@ private:
IsFinishedParsingChildrenFlag = 1 << 12,
// Flags related to recalcStyle.
- SVGFilterNeedsLayerUpdateFlag = 1 << 13,
+ SVGEffectsNeedLayerUpdateFlag = 1 << 13,
esprehn 2014/08/06 17:25:09 You could make this change separately. this patch
HasCustomStyleCallbacksFlag = 1 << 14,
ChildNeedsStyleInvalidationFlag = 1 << 15,
NeedsStyleInvalidationFlag = 1 << 16,
ChildNeedsDistributionRecalcFlag = 1 << 17,
ChildNeedsStyleRecalcFlag = 1 << 18,
StyleChangeMask = 1 << nodeStyleChangeShift | 1 << (nodeStyleChangeShift + 1),
-
CustomElementFlag = 1 << 21,
CustomElementUpgradedFlag = 1 << 22,
-
HasNameOrIsEditingTextFlag = 1 << 23,
HasWeakReferencesFlag = 1 << 24,
V8CollectableDuringMinorGCFlag = 1 << 25,
@@ -727,7 +734,6 @@ private:
// HTML dir=auto.
SelfOrAncestorHasDirAutoFlag = 1 << 29,
-
DefaultNodeFlags = IsFinishedParsingChildrenFlag | ChildNeedsStyleRecalcFlag | NeedsReattachStyleChange
};

Powered by Google App Engine
This is Rietveld 408576698