Chromium Code Reviews| Index: Source/core/dom/Node.h |
| diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h |
| index 98ea05cb5beb6899d4cedf83dd752c80eb693edb..3d287830c9498e3e10e7280cd2d53549ba74f90b 100644 |
| --- a/Source/core/dom/Node.h |
| +++ b/Source/core/dom/Node.h |
| @@ -28,6 +28,7 @@ |
| #include "bindings/core/v8/ExceptionStatePlaceholder.h" |
| #include "core/dom/MutationObserver.h" |
| #include "core/dom/SimulatedClickOptions.h" |
| +#include "core/dom/StyleChangeReason.h" |
| #include "core/dom/TreeScope.h" |
| #include "core/dom/TreeShared.h" |
| #include "core/editing/EditingBoundary.h" |
| @@ -354,7 +355,7 @@ public: |
| void setChildNeedsStyleRecalc() { setFlag(ChildNeedsStyleRecalcFlag); } |
| void clearChildNeedsStyleRecalc() { clearFlag(ChildNeedsStyleRecalcFlag); } |
| - void setNeedsStyleRecalc(StyleChangeType); |
| + void setNeedsStyleRecalc(StyleChangeReason, StyleChangeType); |
|
pdr.
2014/09/06 22:36:27
Do we actually need both StyleChangeReason and Sty
kouhei (in TOK)
2014/09/06 23:10:34
Hmm... this is a hard question.
I think we should
|
| void clearNeedsStyleRecalc(); |
| bool childNeedsDistributionRecalc() const { return getFlag(ChildNeedsDistributionRecalcFlag); } |