Chromium Code Reviews| 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 |
| }; |